7.2
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
subscription. When a machine is provisioned, the ChangeProperty subscription begins running. Because
the RecordProperty subscription conditions are based on a post-provisioning conditions, a message
triggers the RecordProperty subscription. However, because the ChangeProperty workflow is a blocking
workflow, the message is not received until it is finished. When the name is changed and the first
workflow is finished, the second workflow runs, recording the name in the file system.
Even if an event topics that support blocking, you can create a non-blocking workflow subscription if the
workflow subscription does not have any dependant subsequent workflows. The workflow subscription is
triggered and runs the vRealize Orchestrator workflow without further interaction from
vRealize Automation or the outside system.
Replyable Event Topics
Some event topics support replies from the subscribed service. The service that registered the replyable
event topic can accept a reply event that provides the workflow output, usually as a result of an
interaction with a system or user. The reply output parameters must meet the criteria defined in the reply
schema so that the vRealize Automation service that published the original replyable event can process
it. For example, pre-approval and post-approval workflow subscriptions are replyable. If you create a
workflow that sends an approval request to an external system, the reply, approved or rejected, is
processed by vRealize Automation and the catalog item is provisioned or the user is notified that the
request was rejected.
The reply can be the output from the vRealize Orchestrator workflow or it can be a failure if the workflow
times out or fails. If the reply is from the workflow output parameters, the reply must be in the correct reply
schema format.
Best Practices for Creating vRealize Orchestrator
Workflows for Workflow Subscriptions
A workflow subscription is based on a specific topic schema. To ensure that the subscriptions can start
the vRealize Orchestrator workflows, you must configure them with the correct input parameters so that
they work with the event data.
Workflow Input Parameters
The custom workflow that you create can include all the parameters or a single parameter that consumes
all the data in the payload.
n
To include individual parameters, configure one or more parameters. Ensure that the name and type
match the name and type specified in the schema.
n
To use a single parameter, configure one parameter with a type of Properties. You can provide any
useful name. For example, you can use payload as the parameter name.
Life Cycle Extensibility
VMware, Inc. 22