4.0

Table Of Contents
5 Click Color in the Info tab at the bottom of the workflow editor and select the background color.
6 Repeat the preceding steps to highlight other zones in the workflow.
n
Place a note over the vertical sequence of elements from the VM powered on? decision element to the
OK element. Add the description Start VM path.
n
Place a note over the startVM failed, both Timeout scriptable task elements and the Send Email
Failed scriptable task element. Add the description Error handling.
n
Place a note over the Send Email scriptable task element. Add the description Send email.
Figure 2-5 shows what the example workflow zones should look like.
Figure 2-5. Start VM and Send Email Example Workflow Zones
What to do next
Define the bindings between the element parameters.
Define the Simple Workflow Example Decision Bindings
You bind a workflow's elements together in the Schema tab of the workflow editor. Decision bindings define
how decision elements compare the input parameters received to the decision statement, and generate output
parameters according to whether the input parameters match the decision statement.
Prerequisites
You must have created the Start VM and Send Email workflow, defined its parameters, laid out its schema,
and linked the schema elements together.
Procedure
1 Click the VM Powered On? decision element.
2 Click the Decision tab in the schema element properties pane at the bottom of the Schema tab.
3 Click the Not set (NULL) button and select vm as the decision element's input parameter from the list of
proposed parameters.
4 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.
5 Select poweredOn.
6 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.
Chapter 2 Developing Workflows
VMware, Inc. 77