Hello,
Currently, our application is using jBPM3 and we are planning it upgraded to jBPM5.4 specifically this year. With that, I’m in need of your help by answering a few questions that I have so far for this upgrade.
- We have multiple process definitions in our application, what will be the best way or how should we be loading all these BPMN files? Based on google search, below are sample code snippet to make it work, please confirm:
- Thru jbpm kbase only
<jbpm:kbase id="kbase">
<jbpm:resources>
<jbpm:resource type="BPMN2" source="classpath:xxxxx1.bpmn" />
<jbpm:resource type="BPMN2" source="classpath:yyyyy2.bpmn" />
</jbpm:resources>
</jbpm:kbase>
- Thru changeset and jbpm kbase
CHANGESET XML
xs:schemaLocation='
http://drools.org/drools-5.0/change-set change-set-1.0.0.xsd'>
<add>
<resource source="file:D:/jbpm" type="BPMN2"/>
</add>
</change-set>
APPLICATIONCONTEXT XML
<jbpm:kbase id="kbase">
<jbpm:resources>
<jbpm:resource type="CHANGE_SET" source="classpath:changeset.xml"/>
</jbpm:resources>
</jbpm:kbase>
- How to properly initialize jBPM5.4 process engine? From jBPM3, we initialize thru loading the jbpm configuration from jbpm.cfg.xml and session factory.
Looking forward to your response.
Your response will be highly appreciated. Thank you!
Regards,
Warlita V. Fuentes