How To Create a Pick Activity

To create a pick activity:

  1. In the SOA Composite Editor, double-click the BPEL process service component.
  2. In the Components window, expand BPEL Constructs > Structured Activities.
  3. Drag a Pick activity into the designer.

    The Pick activity includes an OnMessage branch. Figure 15-2 provides an example.

  4. Click the OnMessage branch to display its property fields in the Property Inspector or double-click the OnMessage branch.

    For information about editing activities in the Property Inspector, see How to Edit BPEL Activities in the Property Inspector.

  5. Edit its attributes to receive the response from the loan service. Figure 15-3 provides an example.
  6. Select the Pick activity.

    Icons for adding additional OnMessage branches and an OnAlarm branch are displayed.

  7. Click Add OnAlarm, as shown in Figure 15-4.

    Figure 15-4 onAlarm Branch Creation

    Description of Figure 15-4 follows
    Description of "Figure 15-4 onAlarm Branch Creation"

    An OnAlarm branch is displayed.

  8. Double-click the OnAlarm branch of the pick activity and set its time limit to 1 minute. Figure 15-5 provides an example.
  9. Click OK.