4.2

Table Of Contents
6 Define the Simple Workflow Example Decision Bindings on page 73
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.
7 Bind the Simple Workflow Example Action Elements on page 73
You bind a workflow's elements together in the Schema tab of the workflow editor. Bindings define how
the action elements process input parameters and generate output parameters.
8 Bind the Simple Workflow Example Scripted Task Elements on page 76
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.
9 Define the Simple Example Workflow Exception Bindings on page 83
You define exception bindings in the Schema tab in the workflow editor. Exception bindings define how
elements process errors.
10 Set the Simple Workflow Example Attribute Read-Write Properties on page 83
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.
11 Set the Simple Workflow Example Parameter Properties on page 84
You set the parameter properties in the Presentation tab in the workflow editor. Setting the parameter
properties affects the behavior of the parameter, and places constraints on the possible values for that
parameter.
12 Set the Layout of the Simple Workflow Example Input Parameters Dialog Box on page 85
You create the layout, or presentation, of the input parameters dialog box in the Presentation tab of the
workflow editor. The input parameters dialog box opens when users run a workflow, and is the means
by which users enter the input parameters with which the workflow runs.
13 Validate and Run the Simple Workflow Example on page 86
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
The first step in the workflow development process is to create the workflow.
Prerequisites
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, see vSphere Installation and Setup. 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 Start the Orchestrator client interface.
Chapter 1 Developing Workflows
VMware, Inc. 67