HI,
I am using Activiti Enterprise (APS 1.9) and have a need to show process comments on each task step. APS allows comments to be added on each task but these appear to be only visible to the Originator on the Process diagram. I had hoped to use this commenting process and have the comments be available to all tasks so as each participant can see the previous comments up to that point.
I see can implement a stencil and call the rest service for the process to get the comments, ie /app/rest/tasks/17710/comments. I have a stencil which can fetch from a given URL and populate a table with the comments. What I am trying to figure out is how to get the current process instance id, so that the URL can become dynamic, ie /app/rest/tasks/${processInstanceId}/comments.
On a form, is there a simple way to get the current processInstanceId via script or expressions?
Thanks.
Colin, I was thinking that ADF Comment Component should do what you want or get you pretty close and a good start.
https://www.alfresco.com/abn/adf/docs/core/components/comments.component/
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.