Guide / Every rule
User task priority that is not valid
The check compat/priority-definition, in the group Engine compatibility.
Why it matters
The priority of a user task has to be a whole number from 0 to 100, or an expression; anything else is refused.
How to fix it
Write the priority as a number from 0 to 100, or as an 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/priority-definition. 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/priority-definition or compat/priority-definition to off in your .bpmnlintrc. See Validation.
Rule details
| Id | compat/priority-definition |
| Group | Engine compatibility |
| Level | Error: the diagram or the process is wrong |
Read more: Validation. All rules: Every rule.