Sentries

Entry Criteria

Entry criteria are used to control when a plan item is activated/enabled. Once their condition evaluates to true, the plan item they are attached to is enabled/activated. Plan items can connect to Entry Criteria to make their evaluation dependent on another plan items state transitions.

Exit Criteria

Exit criteria are used to control when a plan item is terminated/exited. Once their condition evaluates to true, the plan item they are attached to is terminated/exited. Plan items can connect to Exit Criteria to make their evaluation dependent on another plan items state transitions.

Attributes

Group Attribute Description

General

ID

A unique ID for the element. The ID is used to refer to a model element from outside of the diagram (for example, from a CMMN Action button in a form or when referring to a model element, such as plan item ID, in a CMMN REST call). For convenience, this ID can be edited.

Name

The name of the element. This is the name displayed in the diagram. If no run-time Name is specified, this is also used in the running case.

Description

The description attribute additionally adds a description to the component.

Documentation

Documentation intended to explain concepts of its use for future reference.

Details

Trigger mode (Entry Criteria only)

Defines the sentry’s trigger semantics. The setting here is only relevant for sentries that are connected to other model elements (sentries with one or more 'on-parts').

'On event' - the sentry only 'fires' if one or more of the on-part elements undergo the desired transition as part of the current model evaluation cycle. If the sentry has a condition, and the condition evaluates to false, the sentry does not trigger and any transition event is lost.

'Event deferred' - the sentry is evaluated against any on-part element’s last transition. If there is a transition and a false sentry condition, the sentry does not trigger. If the condition turns to true at a later point in time, the sentry fires based on the state of any relevant on-part element’s last transition.

Condition

A back-end expression (${..} syntax) resolving to a boolean value. A missing expression resolves to true. The evaluation context is the plan item which also gives access to all case variables.