Cisco Cisco Process Orchestrator 3.0 User Guide

Page of 242
 
7-22
Cisco Process Orchestrator User Guide
OL-30196-01
Chapter 7      Authoring Processes
  Adding Conditions
Adding Conditions
The conditions assigned to an object within a process specify when an action is to be taken based on an 
evaluation of conditions that have been defined. For an explanation of the types of conditions supported 
by Process Orchestrator, see 
.
You can access condition property pages from many places, including the Process Editor and the Task 
Rules dialog box. The following steps describe how to add a condition using the Process Editor.
To add a new condition:
Step 1
In the Process Editor, choose Toolbox > Logic, then drag a Condition or a Condition Branch into the 
workflow panel.
Step 2
Use the Basic panel to create a simple variable condition that uses a variable to match against a value 
using a defined criteria operator. When you edit a condition using the Basic panel, you are actually 
creating a compound condition where every subcondition is ANDed together.
To create a basic condition:
a.
Click Basic. If there are no conditions, the condition will either be 'TRUE' or 'FALSE' based on the 
user selection. If there are conditions, the condition is evaluated to either TRUE or FALSE.
b.
Modify the condition properties. 
c.
Update the properties for each condition. 
Step 3
Use the Advanced panel to create a more complex condition. You can define the properties of the 
conditions within the Advanced panel, as well as within the Properties dialog box.
When you edit a condition using the Advanced panel, the compound conditions are explicitly shown. 
This allows you to create complex conditional logic with the ability to nest any type of condition inside 
of a compound condition. To add a child compound condition in the advanced editor, choose New > 
Compound Condition
.
The conditions specified on the Basic panel can also be configured on the Advanced panel because they 
transition to simple Process Orchestrator-level variable conditions. All other Process Orchestrator 
conditions on the Advanced panel cannot transition to the Basic panel; for these conditions, the message 
“This is an advanced condition and can only be displayed in advanced view” displays.
To add an advanced condition:
a.
Click Advanced. If there are no conditions, the condition will either be 'TRUE' or 'FALSE' based 
on the user selection. If there are conditions, the condition is evaluated to either TRUE or FALSE.
b.
Click the appropriate button to modify the condition properties.
Note
For information about the field parameters, see the online help.
c.
After the first condition is added, choose the appropriate operator (AND or OR). The operator is set 
to AND by default. 
Step 4
Click OK.