As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi all!There is a comment field in a workflow. I would like to include it in the email notification.Situation : User A make a workflow task and assigned it to user B. User B will get an email notification. User B then completes the task and filled up the comment section. User A received a notification that the task is completed. But the comments made by user B is not included in the notification.I tried to include the comments in the email notification code. But I don't know what parameters "comments" uses.Any idea?Thanks in advanced!
var taskId = "activiti$" + task.getId(); var taskComment = workflow.getTask(taskId).getProperties()["bpm:comment"];