7.3
Table Of Contents
- Life Cycle Extensibility
- Contents
- Life Cycle Extensibility
- Machine Extensibility Overview
- Extending Machine Lifecycles By Using vRealize Orchestrator
- Configuring Workflow Subscriptions to Extend vRealize Automation
- Event Topics Provided With vRealize Automation
- Workflow Subscriptions and Event Broker Terminology
- Blockable and Replyable Event Topics
- Best Practices for Creating vRealize Orchestrator Workflows for Workflow Subscriptions
- Workflow Subscription Settings
- Working with Provisioning and Life Cycle Workflow Subscriptions
- Configuring vRealize Orchestrator Workflows for Provisioning and Life Cycle Workflows
- Workflow Subscription Life Cycle State Definitions
- Configuring the Timeout Values for States and Events
- Configuring the Error Behavior for States and Events
- Scenario: Take a Post-Provisioning Snapshot of a Virtual Machine
- Working with Approval Workflow Subscriptions
- Troubleshooting Workflow Subscriptions
- Troubleshooting vRealize Orchestrator Workflows That Do Not Start
- Troubleshooting Provisioning Requests That Take Too Much Time
- Troubleshooting a vRealize Orchestrator Workflow That Does Not Run for an Approval Request
- Troubleshooting a Rejected Approval Request That Should Be Approved
- Troubleshooting a Rejected Approval Request
- Extending Machine Life Cycles By Using vRealize Automation Designer
- Extending Machine Life Cycles By Using vRealize Automation Designer Checklist
- Installing and Configuring vRealize Automation Designer
- Customizing IaaS Workflows By Using vRealize Automation Designer
- Workflows and Distributed Execution Management
- CloudUtil Command Reference
- vRealize Automation Workflow Activity Reference
- Index
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 congure an approval policy
that requires approval for all software provisioning and a workow subscription that is congured to run
when it receives pre-approval messages that match your dened conditions.
Procedure
1 Scenario: Create a vRealize Orchestrator Workow for Approval Workow Subscriptions on page 39
You create a vRealize Orchestrator workow 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 on page 40
As a tenant administrator, you create an approval policy that generates an event message that is
published by the approval service. If you congured a workow subscription with criteria that match
the event message, vRealize Orchestrator runs the selected workow.
3 Scenario: Create a Pre-Approval Workow Subscription on page 40
As a tenant administrator, you create a pre-approval workow subscription that runs a
vRealize Orchestrator workow when a service catalog request generates an approval request that
matches the congured conditions.
Scenario: Create a vRealize Orchestrator Workflow for Approval Workflow Subscriptions
You create a vRealize Orchestrator workow that accepts the required approval input parameters from
vRealize Automation and returns the necessary output parameters to complete the approval process.
You must design the workow to accomplish your approval goal. For information about creating
vRealize Orchestrator folders and workows, see Developing with VMware vRealize Orchestrator.
Prerequisites
Log in to the vRealize Orchestrator that is the instance congured for vRealize Automation with privileges
that allow you to create a workow.
Procedure
1 Create a folder for your workow subscription workows in the workow library.
2 Create a new workow.
For this scenario, name the workow Automation Approval Request.
a Add the following input parameter.
Name Type
input Properties
b Add the following output parameters.
Name Type
approved boolean
eldValues Properties
3 Create a scriptable task that processes the input and output parameters.
4 Save the workow.
Chapter 1 Life Cycle Extensibility
VMware, Inc. 39