5.5.1

Table Of Contents
This example workflow can take the following paths through its logical flow.
n
Standard path, true decision result, no exceptions.
a The decision element returns true.
b The SnapVMsInResourcePool workflow runs successfully.
c The sendHtmlEmail action runs successfully.
d The workflow ends successfully in the completed state.
n
Standard path, false decision result, no exceptions.
a The decision element returns false.
b The operation the scriptable task element defines runs successfully.
c The sendHtmlEmail action runs successfully.
d The workflow ends successfully in the completed state.
n
true decision result, exception.
a The decision element returns true.
b The SnapVMsInResourcePool workflow encounters an error.
c The workflow returns an exception and stops in the failed state.
n
false decision result, exception.
a The decision element returns false.
b The operation the Scriptable task element defines encounters an error.
c The workflow returns an exception and stops in the failed state.
Element Links
Links connect schema elements and define the logical flow of the workflow from one element to the next.
Elements can usually set only one outgoing link to another element in the workflow and one exception link
to an element that defines its exception behavior. The outgoing link defines the standard path of the
workflow. The exception link defines the exception path of the workflow. In most cases, a single schema
element can receive incoming standard path links from multiple elements.
The following elements are exceptions to the preceding statements.
n
The Start Workflow element cannot receive incoming links and has no exception link.
n
Exception elements can receive multiple incoming exception links, and have no outgoing or exception
links.
n
Decision elements have two outgoing links that define the paths the workflow takes depending on the
decision's true or false result. Decisions have no exception link.
n
End Workflow elements cannot have outgoing links or exception links.
Create Standard Path Links
Standard path links determine the normal run of the workflow.
When you link one element to another, you always link the elements in the order in which they run in the
workflow. You always start from the element that runs first to create a link between two elements.
Prerequisites
n
Open a workflow for editing in the workflow editor.
Developing with VMware vCenter Orchestrator
30 VMware, Inc.