Milestone

milestone

A milestone, when Active, indicates some state of the case has been achieved, as triggered by its entry criteria. For example, in the diagram above, the milestone X started is set to Active when task X becomes Active, i.e., when its start standard event occurs. A milestone’s occur standard event happens when it becomes Active, and this makes task Y Available.

Configuration

config milestone

Name

Milestones are identified by Name, which is the label of the milestone shape. Milestone names must be unique in the model.

Conditions

ON-Part

The most important part of milestone configuration is its entry criterion, specified as a standard event of another plan item or case file item, possibly further conditioned by a data condition. The standard event is defined by the label of a link from the triggering item, called the criterion’s ON-part. To select the standard event, use the Standard Event context menu action on the link.

select standard event

This opens a dialog from which you can select a standard event applicable to the triggering item.

select standard event2

IF-Part

The white diamond shape, called a Sentry, attached to the boundary of the triggered plan item, may define a data condition, called the entry criterion’s IF-Part. To define the condition, use the Attributes/If Part action on the Sentry.

select if part

This opens a dialog where you define the condition as a FEEL Boolean expression of case file items. At the top of the dialog is a checkbox. If unchecked, the IF-part is true by default. If checked, the expression in the Condition field is evaluated. Currently Case Modeler ignores the Context field.

if part

While it is not required by the spec, the book CMMN Method and Style recommends copying the condition expression to the Sentry label, so it appears in the diagram.

Other Attributes

From the Attributes context menu on the milestone, you can set the following:

  • Required (default false) - Task must be completed or terminated in order to complete the containing stage, if Required rule is true.

  • Repeat (default false) - Following completion, task may be retriggered, if Repetition rule is true.