How can we add a process comment with APIs ?
I'm trying to add a comment to the process programmaticaly.
I have tried to add a connectorOUT, which takes my comment value from the form contract, and then call this code :
The problem is that the comment is added by the System User, and thus is not visible on the Comments Page.
Is there a way to add a comment to the Comments Page ?
Things I could try :
- In a connector OUT : get the taskPerformerID, connect him, and execute "addProcessComment"
- In the form : call the REST API (POST /bonita/API/bpm/comment ) on the submit button OnClick (is it possible ?)
debes agregar el comentario en las acciones de una tarea humana, ahí te salen registradas con el usuario logeado
You must add the comment in the actions of a human task, there they are registered with the loggeduser
I use this within a human task action, and it is saved when the form is submitted. By rest api there is no way.