Penstock

Guide / Every rule

Criterion that points at a sentry that is not there

The check cmmn/dangling-sentry-ref, in the group CMMN case models.

Error

Why it matters

An entry or exit criterion names its sentry by sentryRef; if no sentry has that id, the criterion can never be satisfied, so the plan item never starts or never ends.

How to fix it

Point sentryRef at an existing sentry, or add the sentry.

Where you see it

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

Rule details

Idcmmn/dangling-sentry-ref
GroupCMMN case models
LevelError: the diagram or the process is wrong

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