BPEL Designer: Adding On Event Elements

See Also

The On Event element indicates that the specified event is waiting for a message to arrive. The interpretation of this element and its attributes is very similar to a Receive activity.

The On Event element is created inside an Event Handlers container. Thus, before adding On Event, be sure an Event Handler container element exists in either the Process or Scope elements.

To add and configure the On Event activity:

  1. If you have not already added an Event Handlers container, in the Design view of the BPEL Designer, right-click the Scope or Process element and choose Add > Add Event Handlers.
  2. Right-click the Event Handlers container and choose Add > On Event.
  3. From the Palette, drag one or several activities that will be executed and place them inside the On Event branch. Configure the properties of each activity.
    Note that the BPEL Designer implicitly adds a Scope container activity for handling activities that will be executed concurrently upon the arrival of a message.
  4. To configure the message properties, select the On Event element on the diagram.
    The Properties window shows the On Event properties (Ctrl-Shift-7).
  5. In the Properties window, click Property Editor to configure the following properties:
  6. (Optional) In the Property Editor window, you can add a correlation set. See Understanding Correlation. Using the Correlation Wizard or Adding Correlation Sets Manually for details.
See Also
Adding Fault Handlers
About Variables in the BPEL Designer

Legal Notices