Variable Scope - Stored Procedure Parameter

Applies to parameters associated with a task in a workflow.
 
Options:

Scope

Description

SELF

The parameter is set only within the scope of the task that executes the Set Variable action.

PARENT

The variable is set within the scope of the (immediate) parent workflow. After it is set, any task within the parent workflow can access that variable.

TOP_LEVEL_PARENT

The variable is set within the scope of the top level parent. Example: Workflow A contains workflow B and workflow B contains workflow C. If a Set Variable action is executed by a task within workflow C with Variable Scope set to TOP_LEVEL_PARENT, then the variable will be set in workflow A's scope. This means that after it is set, tasks in workflow A, workflow B and workflow C can access that variable.