此内容没有您所选择的语言版本。
5.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"/>
<property name="jbpm.v5.id.strategy" value="true"/>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Load the KieSession as shown here:
KieSession ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionID, kbase, sessionConf, env);
KieSession ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionID, kbase, sessionConf, env);
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Continue the normal execution of the process using KieSession methods:
ksession.signalEvent("SomeEvent", null);
ksession.signalEvent("SomeEvent", null);
Copy to Clipboard Copied! Toggle word wrap Toggle overflow