4.2

Table Of Contents
n
Drag a scripted element to the right of OK and name it Send Email.
n
Drag a scripted element to the right of Timeout 2 and name it Send Email Failed.
13 Drag an end element to the right of Send Email.
14 Click Save at the bottom of the workflow editor Schema tab.
Figure 1-3 shows the layout of the Start VM and Send Email workflow schema elements.
Figure 1-3. Start VM and Send Email Example Workflow Schema Elements
What to do next
You must now link the workflow elements together.
Link the Simple Workflow Example Elements
You link a workflow's elements in the Schema tab of the workflow editor. The linking defines the flow of data
through the workflow.
Prerequisites
You must have created the Start VM and Send Email workflow, defined its parameters, and laid out its schema.
Procedure
1 Click the connector tool button in the toolbar at the top of the Schema tab in the workflow editor.
2 Click the start element, and holding the left mouse button down, move the pointer to the VM Powered
On? decision element.
You have linked the start element to the decision element.
3 Link the remaining elements as described in the following table.
Table 1-7. Simple Workflow Example Links
Click Link to Type of Arrow Description
Left side of VM Powered
On? decision element
Already Started
scriptable task element
Green Input matches decision
statement
Right side of VM Powered
On? decision element
startVM action element Red dotted Input does not match
decision statement
Middle of startVM action
element
vim3WaitTaskEnd action
element
Black Normal workflow
progression
Middle of
vim3WaitTaskEnd action
element
vim3WaitToolsStarted
action element
Black Normal workflow
progression
Developing with VMware vCenter Orchestrator
70 VMware, Inc.