5.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 16. 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.
Developing with VMware vCenter Orchestrator
108 VMware, Inc.