5.5.1

Table Of Contents
6 Bind the required output parameters to the workflow in the OUT tab of the workflow schema
element's.
7 Define the exception behavior of the workflow in the Exceptions tab.
8 Click Close.
9 Click Save at the bottom of the workflow editor.
You called a workflow synchronously from another workflow. When the workflow reaches the synchronous
workflow during its run, the synchronous workflow starts, and the initial workflow waits for it to complete
before continuing its run.
What to do next
You can call a workflow asynchronously from a workflow.
Call a Workflow Asynchronously
Calling a workflow asynchronously runs the called workflow independently of the calling workflow. The
calling workflow continues its run without waiting for the called workflow to complete.
You call workflows asynchronously from another workflow by using the Asynchronous Workflow
element.
Prerequisites
n
Open a workflow for editing in the workflow editor.
n
Add some elements to the workflow schema.
Procedure
1 Drag an Asynchronous Workflow element from the Generic menu to the appropriate position in the
workflow schema.
The Choose workflow selection dialog box appears.
2 Search for and select the desired workflow from the list and click OK.
3
Click the Edit icon ( ) of the Asynchronous Workflow element in the workflow schema.
4 Bind the required input parameters to the workflow in IN tab of the asynchronous workflow element.
5 Bind the required output parameter in the OUT tab of the asynchronous workflow element.
You can bind the output parameter either to the called workflow, or to that workflow's result.
n
Bind to the called workflow to return that workflow as an output parameter
n
Bind to the workflow token of the called workflow to return the result of running the called
workflow.
6 Define the exception behavior of the asynchronous workflow element in the Exceptions tab.
7 Click Close.
8 Click Save at the bottom of the workflow editor.
You called a workflow asynchronously from another workflow. When the workflow reaches the
asynchronous workflow during its run, the asynchronous workflow starts, and the initial workflow
continues its run without waiting for the asynchronous workflow to finish.
What to do next
You can schedule a workflow to start at a later time and date.
Developing with VMware vCenter Orchestrator
58 VMware, Inc.