Dear Camunda Community,
i would like to search a BPMN model for all none start events.
For this I first get all start events via modelInstance.getModelElementsByType(StartEvent.class).
But how can I now determine what kind of start event it is? (None, Message, Signal, etc.)
The differentiator here is the attached event definition so none start event has no event definition attached whereas timer start event has timer event definition attached and so on.