Penstock

Guide / Every rule

Two headers of a listener with the same key

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

Error

Why it matters

A listener that reads a header by its key gets one of the two values, and which one is not defined.

How to fix it

Give each header of the listener its own key.

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

Rule details

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

Read more: Validation. All rules: Every rule.