Using message end events

Draft comment:
This topic is shared by BAW, CP4BA, CP4BASaaS. Last updated on 2025-03-13 12:15
You can use a message end event when you want to send a message at an end of a path.

About this task

The start event of a process can receive messages from the end of another event. When including message end events in a business process, be aware of the general information that applies to all types of message events covered in Modeling message events.

Procedure

  1. Open a process and drag a message end event from the palette onto the diagram.
  2. In the Event Properties section, click Select next to Attached message UCA to select an existing undercover agent.

    To create an undercover agent, click New. See Undercover agents.

    Undercover agents must have a schedule type of On Event to function as a message trigger. Plus, the service that is attached to the selected undercover agent must have one or more input variables so that it can pass and correlate information from the event.

    Note: Ensure that the sender and receiver of the message both use the same undercover agent. For example, if the receiver of the message is a message intermediate event in another process, then select the same undercover agent for both the sending message end event and the receiving intermediate event in the other process.
  3. Click the Data Mapping option in the properties.
  4. In the Input section, click the variable selector icon on the right side of each field to map each undercover agent output variable to a local variable in the process.

    If enabled, you can click the Use default checkbox to use a default value from the attached undercover agent for a particular variable. When you select this checkbox, the variable selector icon becomes disabled.