Clarify: Multiple compensation is not performed when cancelling a multi-instance transaction

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.6.x, 7.7.x, 7.8.x
    • Component/s: engine

      AT:

      • given:
        • I have the attached process deployed transaction-mi.png
        • Multi Instance transaction cardinality is 3 (or I have a collection with three elements)
        • I have started a process instance
      • when:
        • the first two multi-instance loops/transactions are completed successfully
        • the last loop/transaction has a failure and triggers a cancellation
      • then:
        • Only the last multi-instance gets compensated
      • expected:
        • all three multi-instances get compensated

      Hint:
      Here is a testcase:
      https://github.com/camunda/camunda-bpm-platform/commit/32be758e4ea4fe64de75b1145cd4ce5b4f13acc2

      Also test that all transactions/loops after the cancellation are canceled and not executed anymore.

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: