[jboss-user] [JBoss jBPM] - Re: [jBPM4] Task still in Active Activies after being comple

shiva0 do-not-reply at jboss.com
Wed Aug 5 14:10:04 EDT 2009

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#4248204

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248204

More information about the jboss-user mailing list