On changing properties in right menu it does not automatically get changed in XML

Hello everyone,
I have an requirement to get Xml object of a diagram in which I can update the existing diagram xml. Please give your valuable contribution to help me.

Please give valuable context so we can help you.

1 Like

Basically we are using bpmn to create diagram in our project. We are getting two different business object in normal diagram and when we add participant in out diagram.

Yeah, I was kind of assuming that. What business objects do you mean? Those of the root element? Sharing some code that illustrates your issue would be valuable.