How to parse a .bpmn file programmatically using bpm Engine?


#1

From my study to he Camunda Engine, it auto loads the .bpmn an .dmn resource via the configuration. My current purpose is to parse a .bpmn file, and fetch the task or gateway elements, the sequence of the elements. How can I do that? Is there any API provided by the bpm Engine to do that?


#2

Hi @xlhtc007,

maybe Parse Listeners are what you’re looking for here?

Cheers,
Tobias


#3

Hi @tmetzke,
Thanks for ur reply. I dig into the camunda bpmn model APIs (org.camunda.bpm.model.bpmn), and found what I need.