Alfresco Share: accessing bpm_comment in Activiti workflow

ⅰ亾dé卋堺 提交于 2019-12-07 08:20:48

问题


In Activiti workflow, how can I access variable bpm_comment for each comment that's input by user?

If I'm using bpm_comment in every task, it shows the same comment (the first one).


回答1:


I've solved it!

In each userTask I used the following code to retrieve bpm:comment.

var taskId = "activiti$" + task.getId();
var taskComment = workflow.getTask(taskId).getProperties()["bpm:comment"];


来源:https://stackoverflow.com/questions/10275075/alfresco-share-accessing-bpm-comment-in-activiti-workflow

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