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

Concurrent process with pending compensation cannot be completed

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3.0, 7.3.0-alpha4
    • Component/s: engine
    • Labels:

      Description

      Create the following execution structure:

      • a process instance with two non-scope, concurrent child executions
      • the process instance also has a child event-scope execution (e.g. due to a previously completed subprocess with compensation handlers)

      Completing the process instance, i.e. both concurrent children reach an end event, does not end the process instance. The end state is PI <- EVT_SCOPE_EXECUTION where PI has no activity.

      Reason:
      When the first concurrent execution ends, the tree should be compacted but it does not happen due to the event scope execution. Failing test case: org.camunda.bpm.engine.test.api.runtime.ProcessInstanceModificationEventTest.testStartBeforeCancelEndEvent (re-add assertions there)

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            thorben.lindhauer Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: