Hi all, I was able to write a BPMN process using Activiti designer (2.0). I can see the BPMN process definition has been saved in the file system as an xml. Is there a feature that I can input this xml and generate JSON file out of it?
Take a look at the activiti-json-converter project. You can use the org.activiti.editor.language.json.converter.BpmnJsonConverter class, to turn a BpmnModel POJO (see activiti-bpmn-model) into JSON an the other way around. Creating a BpmnModel POJO from XML can be done useing the activiti-bpmn-converter project…