Cisco Cisco Process Orchestrator 3.0 User Guide

Page of 242
 
7-15
Cisco Process Orchestrator User Guide
OL-30196-01
Chapter 7      Authoring Processes
  Adding Process and Global Variables
Step 4
Click Finish to complete the procedure.
Creating a Target Reference Global Variable
Use a target reference global variable to define a variable containing a reference to a target of a specific 
type. For example, perhaps there are several targets representing nodes of some service. One variable 
might reference the active node, and another variable might reference a standby node.
Note
If you have a target reference global variable, there is exactly one target reference. If you really want a 
target reference for every target (with possibly a default target reference), create a target relationship 
defined on a target type. For more information about how target references are used to define 
relationships in target types, see 
.
To create a target reference global variable:
Step 1
Choose Definitions > Global Variables, right-click and choose New > Target Reference Variable.
Step 2
Enter the general information about the variable, then click Next
Note
For information about the field parameters, see the online help.
Step 3
On the Reference Type panel, enter the appropriate target type to use as a reference, then click Next.
Step 4
On the Variable Value panel, choose one or more targets to specify the initial value of the variable, then 
click Next
Step 5
Click Finish to complete the procedure.
Creating a Process Variable
Process variables are created from within a process and can be used as a reference value to store or pass 
a value between executions of a process or between steps within a single process. Process variables can 
also be used to collect input parameters from the user or parent process. These variables are only 
available from within the defined process and cannot be accessed or referenced by objects outside of the 
process. 
There are several types of process variables:
Variable Type
Description
Definition
Definition variables are created in the process definition and only that 
process can reference them. The value is persistent and shared across 
instances of that process.
Input
Input variables are created in the process definition. They specify data 
(parameters) that can be passed into the process. Input variables can 
optionally be marked as required.