Class EscalationPropagation
java.lang.Object
org.flowable.engine.impl.bpmn.helper.EscalationPropagation
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidexecuteCatch(Map<String, List<Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName) protected static voidexecuteEventHandler(Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName) findCatchingEventsForProcess(String processDefinitionId, String escalationCode) protected static EventgetCatchEventFromList(List<Event> events, ExecutionEntity parentExecution) protected static EscalationEventDefinitionstatic voidpropagateEscalation(String escalationCode, String escalationName, DelegateExecution execution) static voidpropagateEscalation(Escalation escalation, DelegateExecution execution)
-
Constructor Details
-
EscalationPropagation
public EscalationPropagation()
-
-
Method Details
-
propagateEscalation
-
propagateEscalation
public static void propagateEscalation(String escalationCode, String escalationName, DelegateExecution execution) -
executeCatch
-
executeEventHandler
protected static void executeEventHandler(Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName) -
findCatchingEventsForProcess
-
getCatchEventFromList
-
getEscalationEventDefinition
-