Class ScopeUtil


  • public class ScopeUtil
    extends java.lang.Object
    • Constructor Detail

      • ScopeUtil

        public ScopeUtil()
    • Method Detail

      • throwCompensationEvent

        public static void throwCompensationEvent​(java.util.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