Penstock

Guide / Every rule

Condition on a flow that cannot have one

The check compat/sequence-flow-condition, in the group Engine compatibility.

Error

Why it matters

Only the flows that leave an exclusive or an inclusive gateway are conditional; on any other flow the condition is refused.

How to fix it

Delete the condition, or draw a gateway in front of the flow.

Where you see it

The Problems tab lists it under Engine, the editor marks the element on the canvas, and penstock check reports it as compat/sequence-flow-condition. It checks the diagram against the engine and the version it is written for: the version in the file's modeler:executionPlatformVersion, or the newest one when the file has none. Operaton and CIB seven are checked as Camunda 7. This check is free.

To turn it off, set camunda-compat/sequence-flow-condition or compat/sequence-flow-condition to off in your .bpmnlintrc. See Validation.

Rule details

Idcompat/sequence-flow-condition
GroupEngine compatibility
LevelError: the diagram or the process is wrong

Read more: Validation. All rules: Every rule.