Penstock

Guide / Every rule

Two execution listeners that are the same

The check compat/duplicate-execution-listeners, in the group Engine compatibility.

Error

Why it matters

Two listeners with the same event type and job type run the same job twice.

How to fix it

Delete the duplicate listener.

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/duplicate-execution-listeners. 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/duplicate-execution-listeners or compat/duplicate-execution-listeners to off in your .bpmnlintrc. See Validation.

Rule details

Idcompat/duplicate-execution-listeners
GroupEngine compatibility
LevelError: the diagram or the process is wrong

Read more: Validation. All rules: Every rule.