CMMN 1.1 RTF Avatar
  1. OMG Issue

CR — Unclear when an IfPart only sentry must be evaluated

  • Key: CR-13
  • Legacy Issue Number: 19495
  • Status: closed  
  • Source: hidera.nl ( Thijs Petter)
  • Summary:

    In section 7.5 it is stated that if a sentry has only an IfPart, and it's condition evaluates to true, then the sentry is satisfied.

    However, it is not specified WHEN the IfPart should be evaluated. Most logical seems when the plan item that refers to the sentry in an entry or exit criterion becomes Available.

    Also, it will be great if it is stated that the outcome of the IfPart should be preserved during the rest of the lifecycle of the plan item.

    I propose a text similar to what is said in section 7.6.4

    "This condition MUST be evaluated when the Milestone, Stage, or Task instance is instantiated and transitions to the
    Available state, and their Boolean value SHOULD be maintained for the rest of the life of the Milestone, Stage, or
    Task instance."

  • Reported: CMMN 1.0 — Mon, 30 Jun 2014 04:00 GMT
  • Disposition: Resolved — CMMN 1.1
  • Disposition Summary:

    Clarify sentry evaluation with ifPart only

    The execution semantic for sentries is described in page 78, section 7.5 Sentry. However it is not clear on when are sentries evaluated. The onPart is easy, because it is clear that when an event happens it should be evaluated, however for sentries with no onPart it is unclear when that sentry should be evaluated. In addition the first paragraph does not mention milestones or CasePlanModel.

    Page 78, Section 7.5 Sentry: Change first paragraph as follows:

    When multiple entry criteria (sentries) are used only one is required to trigger the transition of the Stage , or Task , or Milestone instance out of Available state. The same is true for exit criteria. When multiple exit criteria (sentries) are used only one is required to trigger to transition the Stage , or Task , or CasePlanModel instance from Active to Terminated.

    Page 78, Section 7.5 Sentry: Add to the end of the section:

    Entry criterion sentries are considered ready for evaluation while the task, stage, or milestone is in Available state. Exit criterion sentries are considered ready for evaluation while the CasePlanModel, Stage, or Task is in Active state. Sentries are evaluated when events arrive to the system or when events are generated by the system. A single event may satisfy multiple sentries. Sentries with no onPart must have an ifPart, and that ifPart will be evaluated for all CaseFileItem events, because ifPart expressions are based on CaseFileItem properties.

  • Updated: Tue, 29 Mar 2016 15:06 GMT