BPEL Designer: Adding On Alarm Elements
See Also
The On Alarm element specifies the activities that are invoked after a specified deadline or time period.
The On Alarm element is created inside an Event Handlers
container element. Thus, before adding On Alarm, be sure an Event Handler container element exists in either the Process or Scope elements.
To add and configure the On Event activity:
- If you have not already added an Event Handlers container, right-click the Scope or Process element and choose Add > Add Event Handlers.
- Right-click the Event Handlers container and choose Add > On Alarm.
- From the Palette, drag one or several activities that will be executed and place them inside the On Alarm 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 after the specified timeout or deadline.
- To configure the timer, select the On Alarm element on the diagram.
The
Properties window shows the On Alarm properties (Ctrl-Shift-7).
- In the Properties window, select one of the following expiration types from the Alarm Type drop-down list:
- For. Sets the duration for the process to wait.
- Until. Specifies the deadline for the process.
- Repeat Every. Initiates the process each time
the specified duration period expires. The clock for the very first
duration starts when the associated scope starts.
- For + Repeat Every. Initiates the process each time the duration period specified in the Repeat Every
field expires. The first alarm is fired when the period of
time specified in the For field expires.
- Until + Repeat Every. Initiates the process each
time the duration period specified in the Repeat Every field
expires. The first alarm is fired when the deadline specified
in the Until field is reached.
- In the Properties window, specify the time in accordance with the selected alarm type by clicking the ellipsis button (...).
- (Optional) Add one or more On Alarm branches as described above.
- See Also
- Adding Event Handlers
Legal Notices