Cisco Cisco Process Orchestrator 3.0 User Guide

Page of 242
 
7-18
Cisco Process Orchestrator User Guide
OL-30196-01
Chapter 7      Authoring Processes
  Adding Process and Global Variables
Setting a Variable
Use the Core activity, Set Variable, to modify the value of a defined variable. Choose the variable that 
you want to modify and enter the new value for the variable. 
Note
To set several variable values at the same time, use the Set Multiple Variables activity. It is more 
efficient than using several Set Variable activities.
You can also include formulas to modify variable values. For example:
5+10
-or-
[Activity.Reference1] / [Activity.Reference2] * 100) + [Activity.Reference3]
-or-
[Activity.PropertyName1] [Activity.PropertyName2]
The Set Variable activity cannot modify:
  •
Table variables. To manipulate the values of table variables, see 
  •
Target properties. To manipulate the values of target properties, use the Update Target activity.
Supported Variable Types
The following variable types are supported:
Variable Type
Description
Boolean
Indicates whether a set of elements should be interpreted as true or false.
Hidden String
Holds data that must be protected from other Process Orchestrator users 
and from auditing operations performed by Process Orchestrator.
For more information about hidden strings, see 
Identity
Represents the value of a user or group identity.
Numeric
Single whole or decimal number (positive and negative). 
String
Defines a variable containing a string of text.
Table
Stores a set of records in a table format. 
Note
Table variables are supported by a separate activity called Set 
Table Variable. They are also supported by the Set Multiple 
Variables activity, but are not supported by the Set Variable 
activity.
For information about modifying the format of the tables, see 
.
Target Reference
Contains a reference to a target of a specific type (see 
).