Please take a look at the documentation before posting.. 
and I would suggest you to try jBPM 6 instead. 



On Tue, Apr 22, 2014 at 4:11 PM, <warlita.v.fuentes@accenture.com> wrote:
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.
 
  1. 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:
  1. 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>
  1. Thru changeset and jbpm kbase
CHANGESET XML
            xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
            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>
 
  1. 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
 
 



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

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



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -