You can use a message end event when you want to send a
message at an end of a path.
Before you begin
To perform this task, you must be in the IBM® Process
Designer desktop
editor.
About this task
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 business process definition (BPD), you should
be aware of the general information that applies to all types of message
events covered in
Modeling message events.
Procedure
- Open the Process Designer desktop editor.
- Open a BPD and drag an end event from the palette onto
the diagram.
- In the text box that appears over the event, type a name
for the event.
- Click the Implementation option
in the properties.
- Click the drop-down list and select Message from
the end event types. By default, message end events can
only send messages.
- 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 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.
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 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.
- Click the Data Mapping option in
the properties.
- 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.