Melih Cetin [
http://community.jboss.org/people/mscetin] created the discussion
"Re: How to make a process instance go on with jBPM5?"
To view the discussion, visit:
http://community.jboss.org/message/620092#620092
--------------------------------------------------------------
Hi,
I restore a session using JPAKnowledgeService.loadStatefulKnowledgeSession (copy/paste
from org.jbpm.integration.console.CommandDelegate which looks like a workaround) and
re-registering work item handlers using WorkItemManager.registerWorkItemHandler method.
What I notice is; these handlers are invoked for any newly created process instance but
they are not invoked for process instances created before re-storing the session. (Human
Task handler - CommandBasedWSHumanTaskHandler works with no problem though). Do I need to
do anything extra to associate existing process instances with the handlers?
I am testing this scenario by deploying a web application that uses jBPM to Glassfish,
enabling persistence and stopping and starting the application server in between.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/620092#620092]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]