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)