4.2

Table Of Contents
Table 1-9. Binding Values of the vim3WaitToolsStarted Action
Parameter Name Binding Type
Bind to Existing or
Create Parameter? Binding Values
vm
IN Automatic binding
n
Local Parameter: vm
n
Source parameter: vm[in-
parameter]
n
Type: VC:VirtualMachine
n
Value: Not editable, variable is
not a workflow attribute.
n
Description:
The virtual machine to
start.
pollingRate
IN Bind
n
Local Parameter: pollRate
n
Source parameter:
pollRate[attribute]
n
Type: number
n
Description:
The polling rate in seconds
at which vim3WaitTaskEnd
checks the advancement of
the vCenter server task.
timeout
IN Create
n
Local Parameter: timeout
n
Source parameter:
timeout[attribute]
n
Type: number
n
Value: 10
n
Description:
The timeout limit that
vim3WaitToolsStarted waits
before throwing an
exception.
Bind the Simple Workflow Example Scripted Task Elements
You bind a workflow's elements together in the Schema tab of the workflow editor. Bindings define how the
scripted task elements process input parameters and generate output parameters. You also bind the scriptable
task elements to their JavaScript functions.
Prerequisites
You must have created the Start VM and Send Email workflow, defined its parameters, laid out its schema,
and linked the schema elements.
Procedure
1 Click the Already Started scriptable task element.
2 Set the following general information in the Info tab.
Interaction
No external interaction
Color
None
Business status
Check the check box and add the text VM already powered on.
Description
Leave the text
The VM is already powered on, bypassing startVM and waitTaskEnd,
checking if the VM tools are up and running.
Developing with VMware vCenter Orchestrator
76 VMware, Inc.