I have use token [workflow-new-state-name] but it not working for label pattern for button for transitioning workflow state.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | workflow-extensions config page.jpg | 550.81 KB | rdeboer |
| #1 | Token not working for label pattern for button for transitioning workflow state.png | 21.04 KB | anjjriit |
| workflow-cannot-assign-additional-roles.png | 22.45 KB | anjjriit |
Comments
Comment #1
anjjriit commentedSorry, i made a mistake in uploaded image. Should be this image attached in this issue
Comment #2
rdeboerYes this is a known issue in Workflow Extensions 7.x-1.x.
Basically I haven't had time to complete the port and neither has Workflow Name Transitions been ported.
Comment #3
alex.bukach commentedIn fact, one can use
workflow:prefix for tokens (contrary to label field description). So that one should use[workflow:workflow-new-state-name],[workflow:workflow-current-state-name],[workflow:workflow-name]instead of[workflow-new-state-name],[workflow-current-state-name],[workflow-name], respectively.@RdeBoer, why just not to change field description properly?
Comment #4
rdeboerAlex Bukach is right. The tokens already work, just the names quoted in the help text are wrong.
I've updated the help text and the README in the latest 7.x-1.x-dev. Note that Workflow Name Transitions is not required, but the Token module is.
Rik
Comment #5
matt.rad commentedI was having the same issue, and the [workflow:workflow-new-state-name] type tokens are working fine, but FYI the help text on the field for tokens at admin/config/workflow/workflow_extensions still is of the old format (i.e. [workflow-new-state-name]) in 7.x-1.x-dev.
Comment #6
rdeboer@matt.rad, #5:
????? See attached screenshot, which is the same for both 7.x-1.0 and 7.x-1.x-dev versions. The new tokens are clearly in the help text. The README was also updated.

Comment #7
matt.rad commentedSorry. My mistake. You are right.
I double-checked and I had installed a different version (beta3 &4) by mistake.