[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

--------------------------------------------------------------
Hi,

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.

Cheers,
Maciej

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/541136#541136]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- 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