4.2.1

Table Of Contents
2 Create the following links between the elements in the schema.
Table 1-17. Complex Workflow Example Links
Starting Element Target Element
Start element Initializing scripted element
Initializing scripted element VMs to Process? custom decision
VMs to Process? decision's true result VMs Remaining? custom decision
VMs to Process? decision's false result Has No VMs scriptable task
Has No VMs scriptable task Set Output scriptable task
VMs Remaining? custom decision's true result getVMDisksModes action
VMs Remaining? custom decision's false result Set Output scriptable task
getVMDisksModes action Create Snapshot? decision
getVMDisksModes action exception link Log Exception scriptable task
Create Snapshot? custom decision's true result Create a snapshot workflow
Create Snapshot? custom decision's false result Increment scriptable task
Create a snapshot workflow VM Snapshots scriptable task
Create a snapshot workflow exception link Log Exception scriptable task
VM Snapshots scriptable task Increment scriptable task
Increment scriptable task VMs Remaining? custom decision
Log Exception scriptable task Increment scriptable task
Set Output scriptable task End element
3 Click Save at the bottom of the workflow editor's 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.
Figure 1-7. Linking of the Take a Snapshot of All Virtual Machines in a Resource Pool Example Workflow
What to do next
You can optionally define workflow zones by using workflow notes.
Create the Complex Workflow Example Zones
Optionally, you can highlight different zones of the workflow by adding workflow notes. Creating different
workflow zones helps to make complicated workflow schema easier to read and understand.
Prerequisites
You must have created the workflow, created its schema, and linked the schema elements .
Chapter 1 Developing Workflows
VMware, Inc. 91