4.0

Table Of Contents
Logical Flow of a Workflow
The logical flow of a workflow is the progression of the workflow from one element to the next in the schema
as the workflow runs. You define the logical flow of the workflow by linking elements in the schema.
The standard path is the path that the workflow takes through the logical flow if all elements run normally.
The exception path is the path that the workflow takes through the logical flow if an element does not run
normally.
Different styles of arrows in the workflow schema denote the different paths that the workflow can take
through its logical flow.
n
A black arrow denotes the standard path that the workflow takes from one element to the next.
n
A green arrow denotes the path that the workflow takes if a Boolean decision element returns true.
n
A red dotted arrow denotes the path that the workflow takes if a Boolean decision element returns
false.
n
A thick red dotted arrow denotes the exception path that the workflow takes if a workflow element does
not run correctly.
Figure 2-1 shows an example workflow schema that demonstrates the different paths that workflows can take.
Figure 2-1. Different Workflow Paths Through the Logical Flow of the Workflow
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.
Chapter 2 Developing Workflows
VMware, Inc. 31