Using Scopes

A scope is a group without any conditions that is used to encapsulate activities and variables from the outer scope.

Prerequisites

Select the activities you want to add to a Scope.

Procedure

  1. Right-click on the selection and select Create Group > Scope.
    The selected activities are encapsulated in a new scope.
  2. Configure the new scope from the Properties view.
    General Tab
    Field Description
    Name Specify a name for the scope
    Group Type Default is set to Scope, which is a group of activities without any conditions. Change the group type to create a group with conditions.
    Description Tab
    Field Description
    Description Enter a description for the new scope.
    Variables tab: You can add local variables to the group from the Variables tab. For more information about adding scope variables, see Adding Scope Variables.

    A scope variable can override a process variable if they have the same name. Use the Assign activity to override a process variable with the scope variable.