[jboss-user] [jBPM] - Getting the last actor of the completed task
Al Nadein
do-not-reply at jboss.com
Tue May 4 16:58:48 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/541195#541195
--------------------------------------------------------------
Thanks Maceij,
I went with a work-around:
I made transitions to the tasks match tasks names: if a task is called 'task-1', then transition is 'to-task-1'. Holding the pattern, i can do:
processEngine.getHistoryService().createHistoryTaskQuery().executionId(executionId+".to-"+activityName).state(Task.STATE_COMPLETED).uniqueResult();
where activityName is 'task-1'
Thanks again for help!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/541195#541195]
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/5d935810/attachment.html
More information about the jboss-user
mailing list