5.1

Table Of Contents
n
Open the workflow for editing in the workflow editor.
Procedure
1
On the Schema tab, click the Edit icon (
) of the VM Powered On? decision element.
2 On the Decision tab, click the Not set (NULL) button and select vm as the decision element's input
parameter from the list of proposed parameters.
3 Select the state equals statement from the list of decision statements proposed in the drop-down menu.
A Not set button appears in the value text box, which presents you with a limited choice of possible values.
4 Select poweredOn.
5 Click Save at the bottom of the workflow editor's Schema tab.
You have defined the true or false statement against which the decision element will compare the value of the
input parameter it receives.
What to do next
You must define the bindings for the other elements in the workflow.
Bind the Action Elements of the Simple Workflow Example
You can bind a workflow's elements together in the workflow editor. Bindings define how the action elements
process input parameters and generate output parameters.
Prerequisites
Complete the following tasks.
n
“Create the Simple Workflow Example,” on page 75.
n
“Create the Schema of the Simple Workflow Example,” on page 76.
n
“Define the Parameters of the Simple Workflow Example,” on page 80.
n
“Define the Simple Workflow Example Decision Bindings,” on page 80.
n
Open the workflow for editing in the workflow editor.
Procedure
1
On the Schema tab, click the Edit icon ( ) of the startVM action element.
2 Set the following general information on the Info tab.
Option Action
Interaction
Select No External interaction.
Business Status
Select the check box and add the text Sending start VM.
Description
Leave the text Start / Resume a VM. Return the start task.
3 Click the IN tab.
The IN tab displays the two possible input parameters available to the startVM action, vm and host.
Orchestrator automatically binds the vm parameter to vm[in-parameter] because the startVM action can
only take a VC:VirtualMachine as an input parameter. Orchestrator detects the vm parameter you defined
when you set the workflow input parameters and so binds it to the action automatically.
Chapter 1 Developing Workflows
VMware, Inc. 81