User development,
A new message was posted in the thread "Adding comments to an execution?":
http://community.jboss.org/message/532556#532556
Author : Ricardo Zuasti
Profile :
http://community.jboss.org/people/rzuasti
Message:
--------------------------------------------------------------
I took a dirtier approach,something like:
List<HistoryTask> executionTasks =
pe.getHistoryService().createHistoryTaskQuery().executionId(task.getExecutionId()).orderAsc(TaskQuery.PROPERTY_CREATEDATE).list();
for (HistoryTask executionTask : executionTasks){
List<HistoryComment> comments =
taskService.getTaskComments(executionTask.getId());
//... merge all comments in one big list
}
ie listing all comments of all the tasks in the execution ID, I hope it doesn't hit my
systems performance too hard
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/532556#532556