5.1

Table Of Contents
n
“Create the Schema of the Complex Workflow Example,” on page 99.
n
Open the workflow for editing in the workflow editor.
Procedure
1 Click the Inputs tab in the workflow editor.
2 Define the following input parameter.
n
Name: resourcePool
n
Type: VC:ResourcePool
n
Description: The resource pool containing the virtual machines of which to take snapshots.
3 Click the Outputs tab in the workflow editor.
4 Define the following output parameter.
n
Name: snapshotVmArrayOut
n
Type: Array/VC:VirtualMachine
n
Description: The Array of virtual machines of which snapshots have been taken.
You have defined the workflow's input and output parameters.
What to do next
You must define the bindings between the element parameters.
Define the Bindings for the Complex Workflow Example
You can bind a workflow's elements together in the workflow editor. Bindings define the data flow of the
workflow. You also bind the scriptable task elements to their JavaScript functions.
Prerequisites
Complete the following tasks.
n
“Create the Complex Workflow Example,” on page 97.
n
“Create the Schema of the Complex Workflow Example,” on page 99
n
“Define the Parameters of the Complex Workflow Example,” on page 102
n
Review the bindings that you must define. See “Complex Workflow Example Bindings,” on page 104.
n
Open the workflow for editing in the workflow editor.
Procedure
1 Click the Schema tab in the workflow editor.
2 Define the bindings.
3 Click Save at the bottom of the Schema tab.
All the input and output parameters of the elements are bound to the appropriate parameter types and values.
What to do next
Set the attribute properties.
Chapter 1 Developing Workflows
VMware, Inc. 103