问题
Also asked in this Liferay Forum post
I'm looking for a list of available variables to include in my notifications that are sent via the Kaleo Workflow
Form the default workflow I see they've used ${userName}
and ${taskComments}
that embed into the template sent out - so my questions are:
- Where are these variables set?
- Is there a default list of variables that can be added to my template?
Thanks much!
回答1:
https://web.liferay.com/web/igor.beslic/blog/-/blogs/workflow-in-action-kaleo-workflow-context-variables
Above is list of workflow variables which became pretty useful in my case.
回答2:
Please have a look into WorkflowConstants class. It contains all constants which needs into WorkFlow.
Thanks
来源:https://stackoverflow.com/questions/36732815/freemarker-and-velocity-template-variables