5.5.1

Table Of Contents
6 Drag the (VC:VirtualMachine)vm parameter under the Virtual Machine display group.
In the input parameters dialog box, a text box in which the user types the virtual machine name will
appear under a Virtual Machine heading.
7 Repeat the preceding steps to create a display group for the toAddress parameter, setting the following
properties:
a Create a display group and name it Recipient's Email Address.
b Add a description for the display group, for example,
Enter the email address of the person to notify when this virtual machine is powered-on.
c Drag the toAddress parameter under the Recipient's Email Address display group.
You have set up the layout of the input parameters dialog box that appears when users run the workflow.
What to do next
You have completed the development of the simple workflow example. You can now validate and run the
workflow.
Validate and Run the Simple Workflow Example
After you create a workflow, you can validate it to discover any possible errors. If the workflow contains no
errors, you can run it.
Prerequisites
Complete the following tasks.
n
“Create the Simple Workflow Example,” on page 81.
n
“Create the Schema of the Simple Workflow Example,” on page 82.
n
“Define the Parameters of the Simple Workflow Example,” on page 85.
n
“Define the Simple Workflow Example Decision Bindings,” on page 86.
n
“Bind the Action Elements of the Simple Workflow Example,” on page 87.
n
“Bind the Simple Workflow Example Scripted Task Elements,” on page 90.
n
“Define the Simple Workflow Example Exception Bindings,” on page 97.
n
“Set the Read-Write Properties for Attributes of the Simple Workflow Example,” on page 98.
n
“Set the Simple Workflow Example Parameter Properties,” on page 98.
n
“Set the Layout of the Simple Workflow Example Input Parameters Dialog Box,” on page 100.
n
Open the workflow for editing in the workflow editor.
Procedure
1 Click Validate in the Schema tab of the workflow editor.
The validation tool locates any errors in the definition of the workflow.
2 After you have eliminated any errors, click Save and Close at the bottom of the workflow editor.
You return to the Orchestrator client.
3 Click the Workflows view.
4 Select Workflow Examples > Start VM and Send Email in the workflow hierarchical list.
Chapter 1 Developing Workflows
VMware, Inc. 101