Handling Business Exception in a subprocess
You will explore the exception handling for a subprocess, in this section. You will create a subprocess and that subprocess will end with an Error event.
When the process ends with an Error event, it's handled by the parent process only when the subprocess has a boundary catch event attached to it. If the process cannot handle the exception, then it propagates it to its parent process. If there is no parent process, then the exception is logged to the Enterprise Manager fault recovery system.
Event subprocesses enable you to define a cleaner process with less effort, because the Catch Error event is located within the event subprocess. To reuse an exception handling flow using boundary catch events, you must define a boundary catch event for each of the tasks and then connect those boundary events to the exception handling flow. If the exception handled in the event subprocess occurs while running any of the tasks in the process, then the BPMN...