Create BPMN xml programmatically from business logic

Hi Everyone, I apologize if this is not right section to ask this question.

I am working on app where i have different business processes, i want to generate bpmn diagram (XML) programmatically from business logic. I found few documentations on bpmn specification describing symbols, event types etc but i don’t know how to represent those symbols in code (XML format) to construct complate bpmn diagram.

It would be great of you guys can point me right direction or provide me documentation which can be helpful.

Thanks in advance.


Azeem Tariq

Are you aware of the official BPMN 2.0 specification? It describes the full XML schema briefly.

Additionally, check out our bpmn-moddle library which helps on how to parse and export BPMN 2.0

1 Like