5.1

Table Of Contents
6 Name the new workflow Start VM and Send Email and click OK.
The workflow editor opens.
7 In the General tab, click the version number digits to increment the version number.
Because this is the initial creation of the workflow, set the version to 0.0.1.
8 Click the Server restart behavior value in the General tab to set whether the workflow resumes after a
server restart.
9 Type a description of what the workflow does in the Description text box in the General tab.
For example, you can add the following description.
This workflow starts a virtual machine and sends a confirmation email to the Orchestrator
administrator.
10 Click Save at the bottom of the General tab.
You created a workflow called Start VM and Send Email, but you did not define its functions.
What to do next
Create the workflow's schema.
Create the Schema of the Simple Workflow Example
You can create a workflow's schema in the workflow editor. The workflow schema contains the elements that
the workflow runs and determines the logical flow of the workflow.
Prerequisites
Complete the following tasks.
n
“Create the Simple Workflow Example,” on page 75.
n
Open the workflow for editing in the workflow editor.
Procedure
1 Click the Schema tab in the workflow editor.
2 From the Generic menu, drag a decision element to the arrow that links the Start element and the End
element in the schema.
3 Double-click the decision element and change its name to VM powered on?.
The decision element corresponds to a boolean function that checks whether the virtual machine is already
powered on.
4 From the Generic menu, drag an action element to the red arrow that links the decision element and an
End element.
The dialog box for action selection appears.
5 Type start in the Filter text box, select the startVM action, and click Select.
Developing with VMware vCenter Orchestrator
76 VMware, Inc.