Getting BPMNXML of rendered element

Hi Team,

I am using bpmnjs in angular,
How do I get renderered element BPMNXML before doing save XML in bpmnjs?

Hi,

Please tell more about your use case. What are you trying to achieve?

1 Like

Hi Barmac,
I want to get rendered Elements XML in bpmnjs similer to camundamodeler how it shows xml on another tab after dragging element to the canvas.

OK, so Camunda Modeler actually uses the saveXML when you switch the view to XML tab.

For further assistance, please share a CodeSandbox that reproduces your issue in a way that we can inspect it.

1 Like

Hi barmac thanks for the update, I found the solution, I have added save XML in renderer.