cancel
Showing results for 
Search instead for 
Did you mean: 

[Activiti 6] : Running a flow using a Json Flow

bond007
Champ in-the-making
Champ in-the-making
Hi

Currently I'm setting up a process Engine, deploy the flow and running the flow.  Here I'm using the bpmn.xml file.    
Can i run the flow using Json instead of XML ?  if not should i convert Json to XML using parser ? which method do i need to use?

Please help.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The repositoryService only accepts XML. Use the BpmnJsonConverter to convert json to a BpmnModel (which can be deployed or converted to XML)