How to recognize boundary events of a diagram or project using openApi?

Hello guys
I want to recognize which events that i used inside a bpm diagram are boundary events ?
I know how to read model elements, shapes and IBPIntermediateEvents of a project or diagram inside a plugin but i want to know if they are boundary event or no.
How to do that ?
Thanks in advance

Hi Mamad,

Thank you for your post. I have forwarded your question to our team. I will get back to you with an answer asap.

Best regards,
Jick Yeung

Thanks :ok_hand:

Hi Mamad,

Please try event.parent. If the parent is an Activity, this means the event is a boundary even.

Note that Activity is the super class of SubProcess, Task, etc.

Best regards,
Jick Yeung

1 Like

Great
Thank you :pray: