Class EscalationPropagation

java.lang.Object
org.flowable.engine.impl.bpmn.helper.EscalationPropagation

public class EscalationPropagation extends Object
This class is responsible for finding and executing escalation handlers for BPMN Errors. Possible escalation handlers include Escalation Intermediate Events and Escalation Event Sub-Processes.
Author:
Tijs Rademakers
  • Constructor Details

    • EscalationPropagation

      public EscalationPropagation()
  • Method Details

    • propagateEscalation

      public static void propagateEscalation(org.flowable.bpmn.model.Escalation escalation, DelegateExecution execution)
    • propagateEscalation

      public static void propagateEscalation(String escalationCode, String escalationName, DelegateExecution execution)
    • executeCatch

      protected static void executeCatch(Map<String,List<org.flowable.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName)
    • executeEventHandler

      protected static void executeEventHandler(org.flowable.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName)
    • findCatchingEventsForProcess

      protected static Map<String,List<org.flowable.bpmn.model.Event>> findCatchingEventsForProcess(String processDefinitionId, String escalationCode)
    • getCatchEventFromList

      protected static org.flowable.bpmn.model.Event getCatchEventFromList(List<org.flowable.bpmn.model.Event> events, ExecutionEntity parentExecution)
    • getEscalationEventDefinition

      protected static org.flowable.bpmn.model.EscalationEventDefinition getEscalationEventDefinition(org.flowable.bpmn.model.Event event)