We currently extract all events of start or end type from Camunda models, then use them in the flattened version. This could cause problems with embedded subprocesses, as the start/end events from these would appear alongside those of the outer process.
ATs:
- Start/End events from inside embedded subprocesses don't appear in start/end event scoped flattened models during autogeneration