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<org.flowable.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName) protected static voidexecuteEventHandler(org.flowable.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName) findCatchingEventsForProcess(String processDefinitionId, String escalationCode) protected static org.flowable.bpmn.model.EventgetCatchEventFromList(List<org.flowable.bpmn.model.Event> events, ExecutionEntity parentExecution) protected static org.flowable.bpmn.model.EscalationEventDefinitiongetEscalationEventDefinition(org.flowable.bpmn.model.Event event) static voidpropagateEscalation(String escalationCode, String escalationName, DelegateExecution execution) static voidpropagateEscalation(org.flowable.bpmn.model.Escalation escalation, DelegateExecution execution)
-
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
-
executeEventHandler
protected static void executeEventHandler(org.flowable.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String escalationCode, String escalationName) -
findCatchingEventsForProcess
-
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)
-