7.3

Table Of Contents
Call a vRealize Orchestrator Workflow
You can use either the InvokeVcoWorkflow or the InvokeVcoWorkflowAsync activity to call a
vRealize Orchestrator workow from an IaaS workow.
Some vRealize Orchestrator workows require user interaction during execution. For these workows, the
user prompt appears in the vRealize Orchestrator client rather than in the vRealize Automation console, so
it is not apparent to the end user in vRealize Automation that a workow is waiting for input.
To avoid workows that block on user input, do not call vRealize Orchestrator workows that require user
interaction from IaaS workows.
Procedure
1 In vRealize Automation Designer, open a workow and navigate to the context where you want to call
a vRealize Orchestrator workow.
2 Drag the InvokeVcoWorkflow or the InvokeVcoWorkflowAsync activity into the Designer pane.
3 Select the vCenter Orchestrator workow to execute.
a Under General, click the ellipsis next to Workow.
b In the Browse for vCO workow dialog box, select a workow.
c Click OK.
The Inputs and Outputs sections display the input and output parameters of the selected workow.
4 In the Properties pane, specify one of the following target parameters.
n
VirtualMachineId is the name of the variable representing the virtual machine ID. A virtual
machine with this ID is selected and the value that is retrieved from the
VMware.VCenterOrchestrator.EndpointName custom property for a virtual machine is used as the
vRealize Orchestrator endpoint name.
n
VcoEndpointName is the endpoint name that is used to run the workow. If specied, this value
overrides the VirtualMachineId value when selecting the vRealize Orchestrator endpoint.
n
WorkflowTimeout is a timeout value in seconds. If the vRealize Orchestrator workow does not
nish in the specied time, an exception is generated rather than blocking the workow until a
response is returned. If no value is dened or a value of zero is supplied, the timeout is not
activated. The workow status is checked every 10 seconds during that period unless the polling
time is modied for the endpoint by specifying a value in the
VMware.VCenterOrchestrator.PollingInterval custom property.
5 Specify the parameters for the vRealize Orchestrator workow.
n
Enter the values in the activity in the Designer pane.
n
In the Properties pane, click the ellipsis next to InputParameters or OutputParameters to open the
Parameters dialog box. This dialog box displays the IaaS type of each parameter. If the parameter
type appears in bold, the parameter is required.
Point to the text box for any parameter to view a tooltip indicating the vRealize Orchestrator type.
If you are using the InvokeVcoWorkflowAsync activity, the output parameters of the
vRealize Orchestrator workow are displayed with their corresponding types for informational
purposes, but you cannot specify an expression for the parameter in this activity.
What to do next
To retrieve the results of a workow that you execute asynchronously, use the
WaitForVcoWorkflowCompletion activity.
Life Cycle Extensibility
54 VMware, Inc.