bpmn-io / bpmnlint

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

no-disconnected rule should also check for existence of incoming and outgoing connection, where needed #70

Closed MaxTru closed 2 years ago

MaxTru commented 2 years ago

Is your feature request related to a problem? Please describe

Describe the solution you'd like

Describe alternatives you've considered

Implement as seperate rule.

Additional context

nikku commented 2 years ago

This is not actionable at this point. Could you share a concrete example where incoming and outgoing are needed?

MaxTru commented 2 years ago

Hmmm. I double checked the BPMN spec to find some specifcs about this but was not succesful.

My assumption would be:

However, as said - I did not find specifics about this in the spec. Will close for now.

nikku commented 2 years ago

That is my intuition. Any element that is not connected from a start event is an implicit start event in BPMN. We could argue whether that shall be a "discouraged" modeling pattern. I think it should. no-implicit-start or the like.

Still, if we want this re-opened, please share a concrete instance of the issue you want highlighted / addressed.