Closed (fixed)
Project:
Workflow
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2012 at 09:30 UTC
Updated:
27 May 2013 at 16:01 UTC
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
Comment #1
Bastlynn commentedApply the patch from here #1418622: Tokens replacement does not respect hook_tokens documentation and let me know if that works?
Comment #2
McGo commentedI 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?
Comment #3
jramby commentedHi,
I applyed the patch on 7.x-1.x-dev version... no changes (still no workflow token listed), had I missed something?
Thanks :)
Comment #4
fire-wolf commentedI 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.
Comment #5
nancydruThis should be fixed by other issues.
Comment #6
nicoloye commentedHi 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 !
Comment #7
nancydruI get tokens now. Did you run update.php?
Comment #8
nicoloye commentedYes 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.
Comment #9
nancydruIt works fine for me. Maybe you could try disabling both and re-enabling them (Rules first) to see if that helps.
Comment #10
nicoloye commentedAfter 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.
Comment #11
nicoloye commentedOk, after reinstalling both modules from scratch tokens are now shown correctly.
Thanks !
Comment #12
nancydru