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
--------------------------------------------------------------
Hi,
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.
Cheers,
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/534805#534805]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]