7.4

Table Of Contents
The reply event data payload is the information that it returned to vRealize Automation by the workflow.
The contents of the reply payload determines whether the request is approved or rejected.
{
approved : BOOLEAN,
// Property values
fieldValues : Properties
}
The approved parameter in the reply event payload is either true, for approved, or false, for rejected
requests. The property values are the custom or system properties that were modified by the
vRealize Orchestrator workflow and returned to vRealize Automation and included in the approval
process.
As a best practice, you should configure the vRealize Orchestrator workflow with an output parameter for
businessJustification. You can use this parameter to pass comments provided by the approver in
the outside system to the vRealize Automation approval process. These comments can be for approvals
or rejections.
Creating a vRealize Orchestrator Workflow Based on the Approval Schema
The custom approval workflow that you create must have an input parameter, with any useful name, that
is configured with the type Properties. The approval event data payload is put into this parameter when
the workflow subscription is triggered to run.
The output parameters of the workflow that are sent back to vRealize Automation are approved :
Boolean and fieldValues : Properties. The returned approved : Boolean parameter determines
if the approval level is approved or rejected. The fieldValues : Properties parameter contains the
values that were modified in the external system.
Scenario: Send Software Requests to an External System for Approval
As a tenant administrator, you want users outside vRealize Automation to approve a software component
when a service catalog user requests a machine that includes software. You configure an approval policy
that requires approval for all software provisioning and a workflow subscription that is configured to run
when it receives pre-approval messages that match your defined conditions.
Procedure
1 Scenario: Create a vRealize Orchestrator Workflow for Approval Workflow Subscriptions
You create a vRealize Orchestrator workflow that accepts the required approval input parameters
from vRealize Automation and returns the necessary output parameters to complete the approval
process.
2 Scenario: Create an Approval Policy for External Approval
As a tenant administrator, you create an approval policy that generates an event message that is
published by the approval service. If you configured a workflow subscription with criteria that match
the event message, vRealize Orchestrator runs the selected workflow.
Life Cycle Extensibility
VMware, Inc. 43