In our project I need to manipulate bpmn files that are generated by a design tool.
For this I need ro parse the bpmn files before deployment.
Two hurdles to overcome:
- I could not find a simple example for creating a BpmnModel from a bpmn file *without* deploying the bpmn file first
- I cannot deploy a bpmn file where the process definition has an isExecutable="false" attribute (this is what the design tool generates) because BpmnParse.parseProcessDefinitions() skips non-executables process definitions. In my opinion parsing of process definitions with isExecutable="false" should be allowed, only deployment should be sprohibited.
Any suggestions?
Best, Rob.