Penstock

Guide / Every rule

Message without a correlation key

The check compat/subscription, in the group Engine compatibility.

Error

Why it matters

A message that a process waits for needs a correlation key, or the engine cannot tell which instance it is meant for.

How to fix it

Set the correlation key of the message subscription, usually a FEEL expression.

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

Rule details

Idcompat/subscription
GroupEngine compatibility
LevelError: the diagram or the process is wrong

Read more: Validation. All rules: Every rule.