BPEL Designer and Service Engine User's Guide

Using the Scope Element

The Scope activity is essentially a collection of child activities that can have their own Variables, Fault and Event Handlers, and correlation sets. The Scope activity provides the behavior context for the child elements. The attributes defined for a parent Scope have local visibility inside this Scope. For example, the variables declared for a Scope are visible only inside that Scope and all nested Scopes. These variables can then be used for the child activities of this Scope.

Usage

  1. In the Design view, drag the Scope element from the Palette to the diagram.

  2. Right-click the element and choose Add from the context menu to add the following:

  3. In the Design view, drag elements from the Palette and place them inside the Scope element.

  4. Configure the elements.

  5. (Optional) Specify the name of the Scope element in the Properties window, invoked by right-clicking the element and choosing Properties.

Scope Element Properties

The Scope element properties are: