Custom Shapes XML

Hello team,
how can I save custom shapes together with the bpmn elements as xml?

The goal is to have the CustomElemente and BPMN elements in an XML.

So far, I have it so regulated to save the bpmn elements as xml and the CustomElemente as JSON. This should now be changed.

(Alternatively, packing all the elements into a JSON would also be a solution. How do you get the BPMN elements as JSON? Something like getBpmnElements () I did not find.)

Hi @A.N

you can go through our custom element example on how to add model extensions and to persist custom elements in XML.

I’ll try it the next few days and then let you know.