[jboss-user] [jBPM] - How can i get the execution pointer in a process?

Maciej Swiderski do-not-reply at jboss.com
Wed Mar 31 02:19:27 EDT 2010

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

"How can i get the execution pointer in a process?"

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


make sure that if you signal your execution to move forward you need to take the processInstance object that is returned by that method. Otherwise you will work on old reference.
If you are working with tasks you most likely need to run following method after you complete your task:

procesInstance = executionService.findProcessInstanceById(processInstance.getId());

And after that you invoke findActiveActivityNames and you should get correct results.



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/20100331/d1d1f1b1/attachment.html 

More information about the jboss-user mailing list