Class 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 Detail

      • EscalationPropagation

        public EscalationPropagation()
    • Method Detail

      • propagateEscalation

        public static void propagateEscalation​(org.flowable.bpmn.model.Escalation escalation,
                                               DelegateExecution execution)
      • 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)