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

I should not compensate a concurrent multi instance activity before it is completed

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.4.0, 7.4.0-alpha2
    • 7.3.2
    • engine
    • None

      Given:

      • a process definition with parallel gateway - outgoing flows:
        • a multi instance activity with wait state (e.g. user task, subprocess with user task) has loopCardinality = 5 and a compensation handler
        • a concurrent compensation throw event (intermediate or end) after some other activities

      When:

      • execute the multi instance activity 3 times and
      • throw the compensation event

      Then:

      • the compensation handler of the multi instance activity should not be triggered

      Note:

      • current behavior:
        • the compensation handler is triggered 3 times
        • the multi instance activity is still active
      • the compensation handler should only be triggered if the multi instance activity completed (e.g. executed 5 times) since a multi instance activity is a scoped activity (multi instance body)
      • the behavior is the same for parallel and sequential multi instance activity
      • to solve the issue: create a new event-scoped execution and compensation event subscription for the multi instance body as the root

        This is the controller panel for Smart Panels app

              michael.schoettes Michael Schoettes
              philipp.ossler Philipp Ossler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: