5.1

Table Of Contents
6 Bind the Action Elements of the Simple Workflow Example on page 81
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.
7 Bind the Simple Workflow Example Scripted Task Elements on page 84
You bind a workflow's elements together in the Schema tab of the workflow editor. Bindings define how
the scripted task elements process input parameters and generate output parameters. You also bind the
scriptable task elements to their JavaScript functions.
8 Define the Simple Workflow Example Exception Bindings on page 91
You define exception bindings in the Schema tab in the workflow editor. Exception bindings define how
elements process errors.
9 Set the Read-Write Properties for Attributes of the Simple Workflow Example on page 92
You can define whether parameters and attributes are read-only constants or writeable variables. You
can also set limitations on the values that users can provide for input parameters.
10 Set the Simple Workflow Example Parameter Properties on page 92
You can set the parameter properties in the workflow editor. Setting the parameter properties affects the
behavior of the parameter, and places constraints on the possible values for that parameter.
11 Set the Layout of the Simple Workflow Example Input Parameters Dialog Box on page 94
You create the layout or presentation of the input parameters dialog box in the workflow editor. The
input parameters dialog box opens when users run a workflow that needs input parameters to run.
12 Validate and Run the Simple Workflow Example on page 95
After you create a workflow, you can validate it to discover any possible errors. If the workflow contains
no errors, you can run it.
Create the Simple Workflow Example
You must begin the workflow development process by creating the workflow in the Orchestrator client.
Prerequisites
Verify that the following components are installed and configured on the system.
n
vCenter Server, controlling some virtual machines, at least one of which is powered off
n
Access to an SMTP server
n
A valid email address
For information about how to install and configure vCenter Server, see the vSphere Installation and Setup
documentation. For information about how to configure Orchestrator to use an SMTP server, see Installing and
Configuring VMware vCenter Orchestrator.
To write a workflow, you must have an Orchestrator user account with at least View, Execute, Inspect, Edit,
and preferably Admin permissions on the server or on the workflow folder in which you are working.
Procedure
1 From the drop-down menu in the Orchestrator client, select Design.
2 Click the Workflows view.
3 Right-click the root of the workflows list and select Add folder.
4 Name the new folder Workflow Examples and click OK.
5 Right-click the Workflow Examples folder and select New workflow.
Chapter 1 Developing Workflows
VMware, Inc. 75