r/bpmn • u/Standard-Area-1127 • Jan 12 '24
Programmatically creating BPMN
Hi there!
For a university project I am researching frameworks and APIs to programmatically generate BPMN (standard conform xml).
I found:
- Programmatically creating a process - Developers / General - Forum - bpmn.io
- Eclipse BPMN2 Modeler | The Eclipse Foundation
- nikku/bpmn-js-cli-modeling-dsl: A modeling DSL for bpmn-js (github.com)
- Excel-add in creation of BPMN via Add-in
The last one does not create valid BPMN.
Does the community have some ideas on what would be the best way to transform a given process description into valid BPMN?
Greetings :)
1
u/Bulky_Entrepreneur68 Jul 22 '25
We have done exactly what you are trying to do and it was quite challenging.
But how to generate BPMN XML depends to a large extent on what is your desired process description.
Let’s know your raw input or style of description and take a LOOK at how we go about it.
2
u/SultanOfSodomy Jan 13 '24
BPMN is XML here you can find official schema, in both XSD and CMOF (CORBA) format http://www.omg.org/spec/BPMN/2.0/ from here you can build at least a type system, and possibly a binding logic, possibly automatically depending on your implementation options.
1
u/Exuperyyyyyyy Feb 09 '25
How is it going