Posted by npercival on September 2, 2014 at 5:41pm
Hi,
I have create a site with a Workflow using the Workflow 7.x-2.4 Field module and am sending email using Rules. I cannot seem to find a way to use the Rules module to access the Workflow Comment to include this in the email. I hope I am missing something obvious and this is easy. Any help would be appreciated.
Nathan
Comments
Workflow Comments
I believe the token is '[node:log]' for the comments.
I haven't upgraded in a while so this may be out of date.
Best of luck.
The [node:log] is the
The [node:log] is the revision log of the node and not the workflow comment. The workflow is now a field and the workflow comments seems to be somehow connected with the field but I cannot seem to find a way to access it.
[node:last-transition:comment
[node:last-transition:comment] should be the correct one if you have only one Workflow Field per entity.
Or [node:MY_FIELD:DO_NOT_REMEMBER:comment] if you use multiple workflows per entity.
You can find more examples in workflow.test.inc and workflow.tokens.inc.
" * How to test?
" * - Enable module 'Token'; use page admin/help/token;
" * - Enable module 'Token example'; use page examples/token;