A Message Intermediate Catch Event is used to pause a running process until a defined message is received. When the process flow reaches this event, execution stops and waits for a message. Once the matching message is received, the process continues.
Messages contain a name and can include a payload used to transfer data between events or processes.
Use a message intermediate catch event when a process must wait for input or communication before continuing. For example:
- A process must wait for a response from an external system.
- A user action or approval is sent as a message from another process.
- A process calls an external service and waits for a callback message.
- Data must be received from another process after the process has already started.
When the process reaches a message intermediate catch event:
- The process pauses.
- The event waits for a message with a matching name.
- When the message is received, the process resumes.
Messages are exchanged between throwing and catching events in a one-to-one relationship, where a message sent from one event is received by a corresponding event.