Messages are used by message catching events and message throwing events to send a message and optional payload between BPMN elements. In BPMN, message events are used when a process needs to wait for or send a message to another process or an external system. Messages represent one sender to one recipient communication, unlike signals, which are used to communicate with multiple listeners. Messages can be managed at the individual message-event level or at the diagram level. Unlike process variables, messages can be shared between process definitions in the same diagram.
Use messages when one part of a process needs to communicate with another process, participant, or external system. A catching message event (Message Intermediate Catch Event) waits until the expected message is received, while a throwing message event (Message Intermediate Throw Event) sends a message and then continues the process flow. Message events can appear as start, intermediate, or boundary events depending on where the communication happens in the process.
To manage all messages in a diagram: