[jboss-user] [jBPM] - Getting the last actor of the completed task

Maciej Swiderski do-not-reply at jboss.com
Tue May 4 12:31:08 EDT 2010

Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion

"Getting the last actor of the completed task"

To view the discussion, visit: http://community.jboss.org/message/541136#541136


sorry, I gave you wrong examples. It should be:

List<HistoryTask> history = historyService.createHistoryTaskQuery().executionId(processInstance.getId()).list();

Unfortunately there is no way to narrow down the search by activity name but you can either use task id or outcome.

In the worst case you will get all completed task for execution and the filter it manually.



Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100504/809c5389/attachment.html 

More information about the jboss-user mailing list