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&...]