5.5.1

Table Of Contents
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 103.
n
“Create the Schema of the Complex Workflow Example,” on page 105.
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 103.
n
“Create the Schema of the Complex Workflow Example,” on page 105
n
“Define the Parameters of the Complex Workflow Example,” on page 109
n
Review the bindings that you must define. See “Complex Workflow Example Bindings,” on page 110.
n
Open the workflow for editing in the workflow editor.
Procedure
1 Click the Schema tab in the workflow editor.
2 Define the bindings.
Chapter 1 Developing Workflows
VMware, Inc. 109