You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule should detect the following modeling patterns
Conditions on outgoing sequence flows should always contain at least one process variable. If these conditions do not contain any process variable (dummy condition), they always evaluate to the same value.
If this value is false, the outgoing sequence flow will never be taken. This should be highlighted.
If this value is true:
in XOR gateways: this sequence flow will always be taken, and an incident might be thrown if another outgoing sequence flow evaluates to true as well
in OR gateways: in this case, the OR gateway should be replaced with the combination of a parallel gateway and another XOR/OR gateway to improve readability
If the dummy condition evaluates to false, this rule highlights that a certain path can never be taken.
If the dummy condition evaluates to true, this rule helps to avoid an incident arising or suggests a helpful refactoring.
Without the rule, BPMN models will continue to include dummy conditions on sequence flows behind OR/XOR gateways.
How does the rule improve the BPMN diagram?
Without the rule, BPMN models will continue to include dummy conditions on sequence flows behind OR/XOR gateways.
Rule Details
Name: no-dummy-conditions / static-expression
Default notification level: warn
The text was updated successfully, but these errors were encountered:
Originally reported by @till-stadtler in bpmn-io/bpmnlint#120.
The rule should detect the following modeling patterns
Conditions on outgoing sequence flows should always contain at least one process variable. If these conditions do not contain any process variable (dummy condition), they always evaluate to the same value.
If this value is false, the outgoing sequence flow will never be taken. This should be highlighted.
If this value is true:
If the dummy condition evaluates to false, this rule highlights that a certain path can never be taken.
If the dummy condition evaluates to true, this rule helps to avoid an incident arising or suggests a helpful refactoring.
Without the rule, BPMN models will continue to include dummy conditions on sequence flows behind OR/XOR gateways.
How does the rule improve the BPMN diagram?
Without the rule, BPMN models will continue to include dummy conditions on sequence flows behind OR/XOR gateways.
Rule Details
no-dummy-conditions
/static-expression
warn
The text was updated successfully, but these errors were encountered: