cancel
Showing results for 
Search instead for 
Did you mean: 

[Activiti 6]: Basic clarification about XML and Json in Activiti 6

bond007
Champ in-the-making
Champ in-the-making
Hi
I have few clarification

1.  Once we create a process in activiti UI. Does the process definition is stored in Json format in the mysql server (I'm finding all other details like process details name, version …….in the mysql db but not the XML or json. I might be missing something)?
2.  When we deploy and run the flow it takes the json and does it convert it into XML and runs the repository code ?

2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
1.The xml is stored, it is stored as bytes in the ACT_RE_BYTEARRAY table, referenced from the process definition entry

2. The engine only uses xml, it parses the xml to an in memory representation when needed. The json is only for modeling, and when needed the json is converted to xml.

bond007
Champ in-the-making
Champ in-the-making
Thanks for the jbarrez.