cancel
Showing results for 
Search instead for 
Did you mean: 

XML generation - Export Model

nirvana
Champ in-the-making
Champ in-the-making
Hi All,

As per the requirement I can only provide quick model to the end users and with this I cannot achieve complete complex flow.

So I thought of creating xml directly.

Can someone please provide how exactly export model works and where can I see the export model related code (in modules ?)

Regards,
Nirvana
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Take a look at the activiti-bpmn-model and activiti-bpmn-converter modules.

Create the complex process you need in the BPMN Model POJO's (using your intermediate language/model). Use the org.activiti.bpmn.converter.BpmnXMLConverter class to turn your BPMNModel into an XML-file…

Also, we have a simmilar approach (turning simple model into complex process-steps), maybe you can take a look there for inspiration: activiti-simple-workflow