5.1

Table Of Contents
Elements in Zone Description
VMs remaining? custom decision;
getVMDisksModes action, Create
Snapshot? decision; Create a
snapshot workflow; VM Snapshots
scriptable task; Increment scriptable
task; Log Exception scriptable task
Check whether any virtual machines remain in the resource
pool, check that a virtual machine meets the snapshot
criteria, take a snapshot, then loop until a snapshot has
been taken of all the virtual machines.
Set Output scriptable task; End
element
Generates the resulting array of virtual machines of which
snapshots have been taken.
2 Select a workflow note and press Ctrl+E to select the background color.
3 Click Save at the bottom of the workflow editor Schema tab.
Your workflow zones should look like the following diagram.
Figure 1-6. Schema Diagram for Take Snapshot of all Virtual Machines in a Resource Pool Example Workflow
What to do next
You must define the workflow's input and output parameters.
Define the Parameters of the Complex Workflow Example
You define workflow parameters in the workflow editor. The input parameters provide data for the workflow
to process. The output parameters are the data the workflow returns when it completes its run.
Prerequisites
Complete the following tasks.
n
“Create the Complex Workflow Example,” on page 97.
Developing with VMware vCenter Orchestrator
102 VMware, Inc.