5.5.1

Table Of Contents
n
Restore Deleted Workflows on page 79
You can restore workflows that have been deleted from the workflow library.
n
Develop a Simple Example Workflow on page 79
Developing a simple example workflow demonstrates the most common steps in the workflow
development process.
n
Develop a Complex Workflow on page 102
Developing a complex example workflow demonstrates the most common steps in the workflow
development process and more advanced scenarios, such as creating custom decisions and loops.
Key Concepts of Workflows
Workflows consist of a schema, attributes, and parameters. The workflow schema is the main component of
a workflow as it defines all the workflow elements and the logical connections between them. The workflow
attributes and parameters are the variables that workflows use to transfer data. Orchestrator saves a
workflow token every time a workflow runs, recording the details of that specific run of the workflow.
Workflow Parameters
Workflows receive input parameters and generate output parameters when they run.
Input Parameters
Most workflows require a certain set of input parameters to run. An input parameter is an argument that the
workflow processes when it starts. The user, an application, another workflow, or an action passes input
parameters to a workflow for the workflow to process when it starts.
For example, if a workflow resets a virtual machine, the workflow requires as an input parameter the name
of the virtual machine.
Output Parameters
A workflow's output parameters represent the result from the workflow run. Output parameters can change
when a workflow or a workflow element runs. While workflows run, they can receive the output
parameters of other workflows as input parameters.
For example, if a workflow creates a snapshot of a virtual machine, the output parameter for the workflow
is the resulting snapshot.
Workflow Attributes
Workflow elements process data that they receive as input parameters, and set the resulting data as
workflow attributes or output parameters.
Read-only workflow attributes act as global constants for a workflow. Writable attributes act as a
workflow’s global variables.
You can use attributes to transfer data between the elements of a workflow. You can obtain attributes in the
following ways:
n
Define attributes when you create a workflow
n
Set the output parameter of a workflow element as a workflow attribute
n
Inherit attributes from a configuration element
Chapter 1 Developing Workflows
VMware, Inc. 11