Penstock

Guide / Every rule

Plan item that points at no definition

The check cmmn/definition-ref-missing, in the group CMMN case models.

Error

Why it matters

A plan item is only a place in the plan; what it does is its definition. Without a definitionRef that names a task, stage, milestone or event listener, the item does nothing and the engine refuses the model.

How to fix it

Set definitionRef on the plan item to the id of its definition, or delete the plan item.

Where you see it

The Problems tab of the case model viewer lists it, and penstock check reports it as cmmn/definition-ref-missing for every .cmmn file. It is free.

Rule details

Idcmmn/definition-ref-missing
GroupCMMN case models
LevelError: the diagram or the process is wrong

Read more: CMMN case models. All rules: Every rule.