4.2

Table Of Contents
9 Repeat the preceding steps until you have eliminated all validation errors.
You validated a workflow, and possibly fixed any validation errors.
What to do next
You can run the workflow.
Running Workflows
A workflow runs according to a logical flow of events.
When you run a workflow, each schema element in the workflow runs according to the following sequence.
1 The workflow binds the workflow token attributes and input parameters to the schema element's input
parameters.
2 The schema element runs.
3 The schema element's output parameters are copied to the workflow token attributes and workflow output
parameters.
4 The workflow token attributes and output parameters are stored in the database.
5 The next schema element starts running.
This sequence repeats for each schema element until the end of the workflow.
Workflow Token Check Points
When a workflow runs, each schema element is a check point. After each schema element runs, Orchestrator
stores workflow token attributes in the database, and the following schema element starts running. If the
workflow stops unexpectedly, the next time the Orchestrator server restarts, the currently active schema
element runs again, and the workflow continues from the start of the schema element that was running when
the interruption happened. However, Orchestrator does not implement transaction management or a roll-back
function.
End of Workflow
The workflow ends if the current active schema element is an end element or if an element has no outgoing
connection. Validating a workflow with no end element returns a warning, but the workflow will run
successfully. After the workflow reaches an end element, other workflows or applications can use the
workflow's output parameters.
Run a Workflow
You can perform automated operations in vCenter Server by running workflows from the standard library or
workflows that you create.
For example, you can create a virtual machine by running the Create simple virtual machine workflow.
Prerequisites
You must have configured the vCenter plug-in. For details, see Installing and Configuring VMware vCenter
Orchestrator.
Procedure
1 Click the Workflows view in the Orchestrator client.
2 In the workflows hierarchical list, open Library > vCenter > Virtual machine management > Basic to
navigate to the Create simple virtual machine workflow.
Developing with VMware vCenter Orchestrator
64 VMware, Inc.