-
Feature Part
-
Resolution: Done
-
L3 - Default
-
None
-
None
Once we have added the API for process generation, we should make the external event model generation more complete by including events across more traces. In cases where there are a lot of traces, it might be appropriate to omit the less frequently seen ones. It also might be sensible to only consider finished traces (traces that don't end in events that we know aren't end events). This can be inspired by the 2019 prototype: https://github.com/camunda/camunda-optimize/blob/prototype2019/backend/src/main/java/org/camunda/optimize/service/DiagramGenerationService.java
ATs:
- Generation from a single external event source uses events from the most frequent traces
- All nodes on the generated diagram are mapped correctly
- If we can't find at least one start/end event (after excluding the less frequent traces), we should not include external events on returned model