Hi all,

There is no workflow token in creating a rule that sends a message with a workflow-stat-name for example.

Is there any possibilities to get workflow tokens listed there?

Thanks for your answers,

Jonathan.

Comments

Bastlynn’s picture

Apply the patch from here #1418622: Tokens replacement does not respect hook_tokens documentation and let me know if that works?

McGo’s picture

I applied the patch manually (against 7.x-1.0) but the token values do not show up in a new rule (When a Workflow state has changed). Is it needed to create some more filter conditions so that the token help shows up?

jramby’s picture

Hi,

I applyed the patch on 7.x-1.x-dev version... no changes (still no workflow token listed), had I missed something?

Thanks :)

fire-wolf’s picture

I followed that link and applied patch from post #8 to 7.x-1.0 manually and it seems to work. Tokens now are listed. Thanks.

nancydru’s picture

Status: Active » Closed (fixed)

This should be fixed by other issues.

nicoloye’s picture

Category: feature » bug
Status: Closed (fixed) » Active

Hi there, sorry to re-open this issue but I still have the same problem.
I work with Rules 2.3, tried Workflow 1.0 with the patch recommended for this problem, upgraded to 1.1 and finally to -dev without any token anywhere in Rules to be rendered.

Does anybody see any solution for this ?
Thanks !

nancydru’s picture

I get tokens now. Did you run update.php?

nicoloye’s picture

Yes I did and also cleared the cache.
I'm actually trying to get the token in a "Send mail to all users of a role" body action in Rules.

nancydru’s picture

It works fine for me. Maybe you could try disabling both and re-enabling them (Rules first) to see if that helps.

nicoloye’s picture

After some tests it seems that the tokens are effective if I enter them directly in Direct Input mode, but the data selector just don't show them at all. I'll try disabling/enabling the modules to see if it changes anything.

nicoloye’s picture

Ok, after reinstalling both modules from scratch tokens are now shown correctly.
Thanks !

nancydru’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.