[jboss-user] [jBPM] New message: "Re: Adding comments to an execution?"

Ricardo Zuasti do-not-reply at jboss.com
Wed Mar 17 10:35:52 EDT 2010

User development,

A new message was posted in the thread "Adding comments to an execution?":


Author  : Ricardo Zuasti
Profile : http://community.jboss.org/people/rzuasti

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

More information about the jboss-user mailing list