Hi,
How to edit or delete a comment created with taskService.createComment(taskId, processInstanceId, message)
?
I didn’t see in the doc a method like deleteComment
of removeComment
.
Thanks
Hi,
How to edit or delete a comment created with taskService.createComment(taskId, processInstanceId, message)
?
I didn’t see in the doc a method like deleteComment
of removeComment
.
Thanks
There doesn’t appear to be a way to delete comments via Java or REST API’s. Tasklist is consistent with this as well, only showing comments and adding comments. If I were to hazard a guess, it’s probably because comments become a part of history, not necessarily runtime data. The comments will get cleaned up through normal history cleanup mechanisms, but until then it’s just part of that task’s history and can’t be modified.
OK. Thank you for the reply, Jgigliotti.