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

Intermediate throw compensation event do not wait for compensation of subprocess on different scope

      Given:

      • subprocess with compensation handler
      • other subprocess or activity with compensation handler
      • intermediate throw / end compensation event after subprocess in different scope (e.g. in event subprocess)

      When:

      • throw compensation event for scope

      Then:

      • the throwing activity do not wait for compensation handler of subprocess

      Note:

      • enable test case org.camunda.bpm.engine.test.bpmn.event.compensate.CompensateEventTest.FAILING_testCompensateInEventSubprocess()
      • reason of failure: execution of subprocess is not a child of throwing execution
      • see org.camunda.bpm.engine.impl.bpmn.helper.CompensationUtil.throwCompensationEvent(List<CompensateEventSubscriptionEntity>, ActivityExecution, boolean)
      • extend org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.setParent(PvmExecutionImpl)
        • remove from old parent if exists
        • add as child of new parent if exists

        This is the controller panel for Smart Panels app

            [CAM-4304] Intermediate throw compensation event do not wait for compensation of subprocess on different scope

            Philipp Ossler created issue -
            Philipp Ossler made changes -
            Link New: This issue is related to CAM-4298 [ CAM-4298 ]
            Philipp Ossler made changes -
            Fix Version/s Original: 7.4.0 [ 13505 ]
            Thorben Lindhauer made changes -
            Labels New: compensationBugs
            Thorben Lindhauer made changes -
            Assignee Original: Philipp Ossler [ philipp.ossler ] New: Thorben Lindhauer [ thorben.lindhauer ]
            Thorben Lindhauer made changes -
            Fix Version/s New: 7.4.0 [ 13505 ]
            Thorben Lindhauer made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Thorben Lindhauer made changes -
            Fix Version/s New: 7.3.3 [ 13990 ]
            Thorben Lindhauer made changes -
            Fix Version/s New: 7.2.6 [ 13790 ]
            Fix Version/s New: 7.1.11 [ 13891 ]
            Thorben Lindhauer made changes -
            Assignee Original: Thorben Lindhauer [ thorben.lindhauer ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]

              roman.smirnov Roman Smirnov
              philipp.ossler Philipp Ossler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: