cancel
Showing results for 
Search instead for 
Did you mean: 

where does activity v5.19 store bpmn20.xml Model files?

martan
Champ in-the-making
Champ in-the-making
where does activity v5.19 store bpmn20.xml Model files?
I run locally w/ mysql. I am creating a new model, and it persists it thru tomcat re-boots.
But for the life of me, I cannot find the xml representation of what I've created, either in mysql, or the file system.
And yet, the graphical data persists (i.e. the BPMN DI data)
Since I don't see it in mysql (although it stores a record for the model), I expect to see it somewhere on my C: drive
in a file called *.bmpn20.xml
But no luck.
What am I missing?
I am using Activiti Explorer v5.19 (which appears to include the Alfresco Modeler), and creating a new model, which does persist thru re-boots, but I cannot find the file anywhere.
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
The xml is stored in the ACT_RE_BYTEARRAY table as binary

martan
Champ in-the-making
Champ in-the-making
Thanks!
I can deal with that.

Cheers.

martan
Champ in-the-making
Champ in-the-making
actually, it's in a table called ACT_GE_BYTEARRAY table and stored as binary
But it is not the bpmn20.xml  encoding.
It is stored as json not xml.
And it would be a significant undertaking to 'map' that json to a .bpmn20.xml  file.

So, I guess one cannot export to a  *.bpmn20.xml  file a process created in Activiti.
That correct?

Thanks



trademak
Star Contributor
Star Contributor
Hi,

The BPMN models of the BPMN editor are stored as JSON indeed. You can use the BpmnJsonConverter and BpmnXMLConverter to convert this JSON to a BPMN XML. We do it in the same way in the Activiti Explorer when deploying a model.

Best regards,