Freemarker and Velocity Template Variables

回眸只為那壹抹淺笑 提交于 2020-01-07 02:34:06

问题


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:

  1. Where are these variables set?
  2. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!