Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4937

Align RepetitionRule implementation with CMMN 1.1 specification

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.4.0, 7.4.0-alpha3
    • None
    • engine
    • None

      AT:

      • delete repetition criterion
      • delete properties CaseExecution#repeatable and CaseExecution#repetition
      • align with CMMN 1.1 specification:
        • if the activity has at least one entry criterion, then the repetition rule is evaluated in the transition enable or start (depending on ManualActivationRule). If the repetition rule evaluates to true, a new instance is created.
        • if the activity has not any entry criterion, then the repetition rule is evaluated in the transition complete or terminate. If the repetition rule evaluates to true, a new instance is created. (Note: the repetition rule is not evaluated in the transition create)
        • if the activity has not any entry criterion and the repetition rule contains a Camunda custom property named repeatOnStandardEvent, then the repetition rule is evaluated in the declared transition. In the following example the repetition rule is always evaluated in the transition disable. So whenever the task transitions into the state disabled the rule is evaluated and if it is true, then a new instance of task is created:
            <planItem definitionRef="HumanTask" id="PI_HumanTask" />
            <humanTask id="HumanTask">
              <defaultControl>
                <repetitionRule camunda:repeatOnStandardEvent="disable">
                  <condition>${anyExpression}</condition>
                </repetitionRule>
              </defaultControl>
            </humanTask
          
        • the result of the repetition rule is not persistent

        This is the controller panel for Smart Panels app

            [CAM-4937] Align RepetitionRule implementation with CMMN 1.1 specification

            Roman Smirnov added a comment - See commits: https://github.com/camunda/camunda-cmmn-model/commit/634e5e5755d8aa8bce0aa829b7965729c710b045 https://github.com/camunda/camunda-bpm-platform/commit/8c322119123e84c777b6073407a13498d50a4c19 The documentation will be updated with CAM-4939 .

              thorben.lindhauer Thorben Lindhauer
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: