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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to