A Message End Event is used to end a process path by sending a message to another process or external participant.
When the process flow reaches a message end event, a defined message is sent. This message can be received by a corresponding message-catching event, such as a Message Start Event or an intermediate message catch event. Messages contain a name and an optional payload used to transfer data between events.
Use a message end event when a process must notify another process or system as it completes. For example:
- A process finishes and needs to notify another system or process.
- A request is completed and a response message must be sent back.
- A sub-process completes and triggers a follow-up process in another pool.
- Data must be passed to another process at the end of execution.
When the process reaches a message end event:
- The process path is completed.
- The defined message is sent.
- The message can be received by a corresponding message-catching event.
Messages establish a one-to-one relationship between a throwing event and a catching event, and they are used to transfer data between processes or process scopes.