[jboss-user] [jBPM] - Restoring and continuing a jPBM5 ProcessInstance

mvermand do-not-reply at jboss.com
Thu Jul 4 03:49:05 EDT 2013


mvermand [https://community.jboss.org/people/mvermand] created the discussion

"Restoring and continuing a jPBM5 ProcessInstance"

To view the discussion, visit: https://community.jboss.org/message/826344#826344

--------------------------------------------------------------
Hi,

After a few years of using JBPM4, we are evaluating JBPM5.
In our project we have lots of long-running processes, so we need to persist them.
We want a tight integration with our application and therefore we decided not to use Guvnor (maybe we should non the less?).

Anyway, at the moment we use one ksession per process instance.
Now I am wondering how to "revive" the kbase which is needed to load the ksession:

ksessionStatefull = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, *kbase*, null, env);

As process instances can last days or weeks, it is quit possible that process definitions have been altered, 
so to continue a ksession we need to restore the same kbase as used to start the session (we need to know version of the process definition which was used when creating the process instance), right?

(How) should we store the kbase which is needed to reload the ksession?

Thanks!

Michiel
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/826344#826344]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130704/9b02d700/attachment.html 


More information about the jboss-user mailing list