This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: How to call Multiple BPMN files at runtimeabhijithumbe May 26, 2015 3:37 AM (in response to kalesha786)Hi, 1.Yes, we can load BPMN files from local filesystem as well, like as: ================== File ruleflowFile = new File("/vaid/path/to/ProcessDefinition.bpmn"); Resource resourceRuleflow = kieServices.getResources().newFileSystemResource(ruleflowFile).setResourceType(ResourceType.BPMN2); kfs.write( resourceRuleflow ); KieBuilder kb = kieServices.newKieBuilder(kfs); kb.buildAll(); ================== 2. Do you want to load BPMN files into classpath at runtime ? If yes then its not possible, we cant modify classpath at runtime.To add new resource into classpath we have restart JVM porcess. Hope it helps... 
 
    