Guide / Every rule
Variable name that is not valid
The check compat/variable-name, in the group Engine compatibility.
Why it matters
A name that starts with a digit or holds a space or a dash cannot be used in a FEEL expression, so it can never be read again.
How to fix it
Use a name of letters, digits and underscores that does not start with a digit.
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/variable-name. 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/variable-name or compat/variable-name to off in your .bpmnlintrc. See Validation.
Rule details
| Id | compat/variable-name |
| Group | Engine compatibility |
| Level | Error: the diagram or the process is wrong |
Read more: Validation. All rules: Every rule.