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 ?
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.