IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Modeling events > Modeling message events

Use message end events

You can use a message end event when you want to send a message at an end of a path.

For example, you might want to send a message to be received by the Start event in another process or processes. When including message end events in a BPD, you should be aware of the general information that applies to all types of message events covered in Modeling message events.


Procedure

  1. Open a BPD in and click the Diagram tab.

  2. Drag an end event from the palette onto the diagram.

  3. In the text box that appears over the event, type a name for the event.

  4. Click the Implementation option in the properties.

  5. Click the drop-down list and select Message from the end event types. By default, message end events can only send messages.

  6. In the Message Trigger section, click Select next to Attached UCA to select an existing undercover agent.

    To create an undercover agent, click New. See Understanding and using undercover agents.

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

    Ensure that the sender and receiver of the message both use the same undercover agent.

    For example, if the receiver of the message is an message intermediate event in another BPD, then select the same undercover agent for both the sending message end event and the receiving intermediate event in the other BPD.

  7. Click the Data Mapping option in the properties.

  8. 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 BPD. Click the Use default check box if you want to use a default value from the attached undercover agent for a particular variable. When you enable this check box, the variable selector icon is disabled.

Modeling message events