You need to fetch a new instance of the ProcessInstance. The one you have is not updated
with the completed task.
Just add a
instance = executionService.findProcessInstanceById(pid);
after you task completion. It should now reflect the new "state" of the
Process.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248204#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...