Parsing non-executable process definitions

42 views
Skip to first unread message

Rob van Dort

unread,
Dec 23, 2015, 2:25:36 AM12/23/15
to camunda BPM platform contributors
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.

Christian Lipphardt

unread,
Dec 23, 2015, 4:19:10 AM12/23/15
to camunda BPM platform contributors, rob.va...@gmail.com
Hi Rob,

Did you have a look at the BPMN model API to parse / manipulate the bpmn files?
See [1] for an example.

Cheers,
Christian

Ingo Richtsmeier

unread,
Dec 23, 2015, 4:22:40 AM12/23/15
to camunda BPM platform contributors, rob.va...@gmail.com
Hi Rob,

you can use the BPMN Model API to read  and manipulate your models.


Kind Regards, Ingo


Rob van Dort

unread,
Dec 23, 2015, 9:19:59 AM12/23/15
to Ingo Richtsmeier, christian...@camunda.com, camunda BPM platform contributors
Thanks a lot, very useful!
Reply all
Reply to author
Forward
0 new messages