Scope
See Also
The Scope activity is essentially a collection of child activities that can have their own local variables, fault handlers, event handlers, and correlation sets. A Scope activity provides the behavioral context for 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.
To use the Scope element:
- In the Design view, drag the Scope element from the Palette to the diagram.
- Right-click inside the Scope element and choose to add one of the following attributes:
- In the Design view, place the activities into the Scope element.
- Configure these activities.
- (Optional) Enter the name for the Scope element in the Properties window.
- Alternatively, you can add these attributes from the Navigator window. In the BPEL Logical View of the Navigator, right-click the Scope node, select Add, and choose the attribute to add.
- You can view the local attributes, such as variables, fault handlers, and correlation sets, defined for a Scope activity by expanding the node for this Scope in the BPEL Logical View of the Navigator.
- See Also
- About Variables in the BPEL Designer
- Adding Fault Handlers
- BPEL Designer Palette: Structured Activities
- About the Design View of the BPEL Designer
Legal Notices