bpmn-io / bpmnlint

Validate BPMN diagrams based on configurable lint rules.
MIT License
121 stars 36 forks source link

Detect intermediate events overlapping tasks (looking like boundary events) #71

Closed MaxTru closed 1 year ago

MaxTru commented 2 years ago

Is your feature request related to a problem? Please describe

There were user reported problems, where an intermediateCatchEvent appeared visually as a boundary event. See https://jira.camunda.com/browse/SUPPORT-12954.

Describe the solution you'd like

Add a rule non-boundary-event-overlaps-activity, which would give a warning if a catchEvent visually appears as a boundary event (e.g., overlaps a task).

Such situations could happen, if for example the positioning of elements is updated manually. They could also result from a modeling bug or using of modeling APIs.

Describe alternatives you've considered

n/a

Additional context

Could have been used to identify https://jira.camunda.com/browse/SUPPORT-12954

nikku commented 2 years ago

Makes a lot of sense. I've seen these issues myself in the past, sometimes caused by different modeling tools being used in the tool chain.