Escalation and exception handling
During a workflow, there can be two major exceptions kinds:
- System exceptions: Most of these deal with external system integration, whether it is to external services or to the actual workflow systems.
- Business exceptions: These are errors due to incorrect business assumptions or changes in business conditions.
Unless the exceptions are handled, it will usually result in the failure of the task at hand. To increase the robustness of your workflow automation, we provide several techniques to handle the exception by attaching an intermediate event to the activity:
- Error event for system or business exceptions: An error event allows the automation developer to redirect the logic flow if there is a system error during the execution of the task:
Figure 7.58 – Error event
- Timer event for escalation: A Timer event can be used to handle business escalation, for example, when a certain task...