How to Create an onEvent Branch in a Scope Activity

To create an onEvent branch in a scope activity:

  1. In the expanded Scope activity, click Add OnEvent, as shown in Figure 15-9.

    This creates an OnEvent branch and an enclosed scope activity.

  2. Double-click the OnEvent branch.

    The OnEvent dialog is displayed, as shown in Figure 15-10.

  3. In the Partner Link field, click the Search icon to select the partner link that contains the endpoint reference on which the message is expected to arrive.

    The Port Type and Operation fields define the port type and operation invoked by the partner to cause the event.

  4. Specify a method for receiving the message from the partner through use of a variable or From Parts element.
  5. Click Apply, then click OK.
  6. Continue the design of your BPEL process.