4.2. Runtime Migration
To run Red Hat JBoss BPM Suite 5 processes in Red Hat JBoss BPM Suite 6, do the following:
- Set the system property
jbpm.v5.id.strategy
to true in the JBoss BPM Suitestandalone.xml
file:<property name="jbpm.v5.id.strategy" value="true"/>
- Load the KieSession as shown here:
KieSession ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionID, kbase, sessionConf, env);
- Continue the normal execution of the process using KieSession methods:
ksession.signalEvent("SomeEvent", null);