4.2. Runtime Migration

To run BPMS 5 processes to BPMS 6, do the following:
  1. Set the system property jbpm.v5.id.strategy to true in the BPMS standalone.xml:
    <property name="jbpm.v5.id.strategy" value="true"/>
    
  2. Load the KieSession like the following:
    KieSession ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionID, kbase, sessionConf, env);
    
  3. Continue the normal execution of the process using KieSession methods:
    ksession.signalEvent("SomeEvent", null);