cancel
Showing results for 
Search instead for 
Did you mean: 

Add comment on an ended process instance

christophe_carv
Champ in-the-making
Champ in-the-making
Hi,

Is there a way of adding a comment on an ended processInstance ?

TaskService.addComment(null,processInstanceId,message); 
throws the following error : execution xxx doesn't exist…

Best regards.


Christophe.
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
No, that is not possible. When a process is done, no comments can be added anymore.

What would be the use case for it?

hugo_vega
Champ in-the-making
Champ in-the-making
I'm trying to accomplish this same functionality. In the business process I'm modeling, it is possible for super users to make an extraordinary change (although it's no necessary to pass the request through the process again) and the want to comment the reason of such change.

I remember users in bugzilla commenting tickets in closed state disagreeing for the responses provided for services. Although a ticketing system is not strictly a BPM process, it is a similar use case.      

trademak
Star Contributor
Star Contributor
It's a valid use case I guess. And because comments are part of the history tables it's technically not an issue. Would you be willing to do a pull request with the necessary changes to support this?

Best regards,