5.5.1

Table Of Contents
Element Type Element Name Position in Schema
Workflow
Create a snapshot Above the Create Snapshot? custom decision element, linked with a
green arrow
Scriptable task
VM Snapshots Left of the Create a snapshot workflow, linked with a blue arrow
Scriptable task
Increment Left of the VM Snapshots scriptable task element, linked with a blue
arrow
Scriptable task
Set Output Right of the Pool Has No VMs scriptable task element, linked with a
blue arrow
3 Add a Log Exception scriptable task element.
a Create an exception handling link from the Create a snapshot workflow to an End element.
b Drag a scriptable task element to the red dashed arrow that links the Create a snapshot workflow
to an End element.
c Double-click the scriptable task element and rename it to Log Exception.
d Move the Log Exception scriptable task element to above the VM Snapshots scriptable task element.
4 Unlink all End elements except the End element that is at the right of the Set Output scriptable task
element.
5 Link the remaining elements as described in the following table.
Element Link to Type of Arrow Description
getVMDiskModes action element Log Exception scriptable task
element
Red dashed Exception handling
Create Snapshot? custom decision
element
Increment scriptable task
element
Red
False result
Log Exception scriptable task
element
Increment scriptable task
element
Blue Normal workflow
progression
Increment scriptable task element Remaining VMs? custom
decision element
Blue Normal workflow
progression
Remaining VMs? custom decision
element
Set Output scriptable task
element
Red
False result
6 Click Save at the bottom of the Schema tab.
The following figure shows what the linked elements of the Take a Snapshot of All Virtual Machines in a
Resource Pool workflow should look like.
Developing with VMware vCenter Orchestrator
106 VMware, Inc.