An Event Sub-Process is a sub-process that is triggered by an event rather than by the normal sequence flow of a process.
Unlike embedded sub-processes, Event Sub-Processes are not connected directly to the main process flow. They are activated only when their configured start event is triggered and operate independently of the normal sequence flow. As they are triggered by an event, no sequence flow connection exists between the main process path and the event sub-process. This allows event-handling logic to remain separate from the business flow while still executing within the same process scope.
The event sub-process is displayed as a thin, dotted rectangle:
Use an event sub-process when:
- Exceptions must be handled separately from the primary process flow.
- A process must respond to messages, signals, or errors that can occur during execution.
- Additional processing is required when a particular event occurs.
- Event handling logic should be isolated from the main process diagram.
An Event Sub-Process starts when its configured event is triggered.
Because Event Sub-Processes are event-driven, they cannot use a standard start event. Instead, they must use an event-based start event such as an error start event, message start event, or signal start event.