Class ScopeUtil
java.lang.Object
org.flowable.engine.impl.bpmn.helper.ScopeUtil
- Author:
- Tijs Rademakers, Joram Barrez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
createCopyOfSubProcessExecutionForCompensation
(ExecutionEntity subProcessExecution) Creates a new event scope execution and moves existing event subscriptions to this new executionstatic void
throwCompensationEvent
(List<CompensateEventSubscriptionEntity> eventSubscriptions, DelegateExecution execution, boolean async) we create a separate execution for each compensation handler invocation.
-
Constructor Details
-
ScopeUtil
public ScopeUtil()
-
-
Method Details
-
throwCompensationEvent
public static void throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions, DelegateExecution execution, boolean async) we create a separate execution for each compensation handler invocation. -
createCopyOfSubProcessExecutionForCompensation
public static void createCopyOfSubProcessExecutionForCompensation(ExecutionEntity subProcessExecution) Creates a new event scope execution and moves existing event subscriptions to this new execution
-