Hi!
How can I get realtime diagram name? Like under process
Where do you need it?
Here
I created new topic βIs there any event on BPMNModeler for listening every change in model?β
If I know how to listen every change, I`ll be able to get realtime name.
To get the name of the root element you can do:
const rootElement = modeler.get('canvas').getRootElement();
const { businessObject } = rootElement;
const name = businessObject.get('name');
Yeah. It`s great for getting model name.
And for get it in realtime we can add
It works great for an Angular!
Thank you!
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.