Guide / Every rule
Id used twice
The check cmmn/duplicate-id, in the group CMMN case models.
Why it matters
Every element of a case model is found by its id, so a second element with the same id makes every reference to it ambiguous and the engine refuses the model.
How to fix it
Give one of the elements a new id and update the references to it.
Where you see it
The Problems tab of the case model viewer lists it, and penstock check reports it as cmmn/duplicate-id for every .cmmn file. It is free.
Rule details
| Id | cmmn/duplicate-id |
| Group | CMMN case models |
| Level | Error: the diagram or the process is wrong |
Read more: CMMN case models. All rules: Every rule.