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).
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).
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"];