cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Process comments list

goodboy
Champ in-the-making
Champ in-the-making
Hi all,

I have 4 comments added to a process. Two of then are added directly to tasks, and the other two are only added with processInstanceId.

How can i get the Events that were added only to the process, which were triggered by adding those 2 comments?

On taskservice i only can find getProcessEngine().getTaskService().<b>getTaskEvents(taskId)</b>

btw, im using version 5.14

thanks

2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
There is a method on the taskService to get the comments using the processInstanceId / taskId

goodboy
Champ in-the-making
Champ in-the-making
hi jbarrez,

yes there is, i don't know how i miss then. Smiley Happy

thnks