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

Al Nadein do-not-reply at jboss.com
Tue Aug 17 13:06:31 EDT 2010


Al Nadein [http://community.jboss.org/people/matrixpooh] replied to the discussion

"Getting the last actor of the completed task"

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

--------------------------------------------------------------
Found a better way to get a history task via HistoryActivityInstance:

HistoryActivityInstance hai = historyService.createHistoryActivityInstanceQuery().processInstanceId(pid).activityName(activityName).uniqueResult();
if (hai.getClass() == HistoryTaskInstanceImpl.class)
     HistoryTask ht = ((HistoryTask)hai).getHistoryTask();


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

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

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/20100817/792d5a9e/attachment.html 


More information about the jboss-user mailing list