Creating an undercover agent

Create an event-based undercover agent.

About this task

The undercover agent tells IBM® Business Process Manager what service to run when the message event is received. The message can be triggered by IBM BPM itself or by an external system as in this example.

Procedure

  1. In the Designer view, click the plus sign next to Implementation and then select Undercover Agent from the list.
  2. In New Undercover Agent, enter the following information and then click the Finish button.
    • Name: Type My UCA or something similar for the name.
    • Schedule Type: Select On Event from the drop-down list.
  3. In the Details section, the queue for processing this undercover agent is set to Async Queue by default. This setting is fine for the sample integration. (To learn more about the queue options, see Undercover agents.)
  4. In the Parameter Mapping section, you can see that the undercover agent is automatically mapped to the someString variable from the attached service, My UCA Handler.
  5. Save your work.

What to do next

Now that the undercover agent is available, you can attach it to the message event.