5.5.1

Table Of Contents
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.
Complex Workflow Example Bindings
Bindings define how the simple workflow example's action elements process input and output parameters.
The Take Snapshots of All Virtual Machines in a Resource Pool workflow requires the following input and
output parameter bindings. You also define the JavaScript functions for the scriptable task elements.
In cases in which you bind to existing parameters, the binding inherits the type and description values from
the original parameter.
Initializing Scriptable Task
The Initializing scriptable task element initializes the attributes of the workflow. The following table shows
the input and output parameter bindings that the Initializing scriptable task element requires.
Table 115. Bindings of the Initializing Scriptable Task Element
Parameter Name Binding Type
Bind to Existing
or Create
Parameter? Binding Values
resourcePool
IN Bind
n
Local parameter: resourcePool
n
Source parameter:
resourcePool[in-parameter]
n
Type: VC:ResourcePool
n
Description:
The resource pool
containing the virtual
machines of which to take
snapshots
allVMs
OUT Create
n
Local parameter: allVMs
n
Source parameter:
allVMs[attribute]
n
Type:
Array/VC:VirtualMachine
n
Description:
The virtual machines in the
resource pool.
numberOfVMs
OUT Create
n
Local parameter: numberOfVMs
n
Source parameter:
numberOfVMs[attribute]
n
Type: number
n
Description:
The number of virtual
machines found in the
resourcePool
Developing with VMware vCenter Orchestrator
110 VMware, Inc.