Getting bpmn xml elements


I would like to get structured xml elements on ‘import.parse.complete’.
I need ability to get elements based on their id and access other attributes.

At this point elementRegistry is not populated yet, since it is before rendering.

What are you referring to by “structured xml elements”? With the event import.parse.complete you get a definitions object that contains the whole model with all its elements and their properties. You can easily build small search function that finds an element with a given ID in the definitions object.

1 Like

WOW Philip, you guys are awesome!
Your responsiveness is like crazy!
Thanks so much for your support.

I will try it.