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
Configure a Blueprint to Call a State Change Workflow
After you create a custom state change workow, a tenant administrator or business group manager must
enable it for specic blueprints by adding a custom property.
Each state change workow is associated with a specic custom property. When a machine is entering a
state with a corresponding state change workow, IaaS checks to see if the machine has the corresponding
custom property; if so, the associated workow is executed. For example, if a machine has the custom
property ExternalWFStubs.MachineProvisioned, the WFStubMachineProvisioned workow is executed before
the master workow enters the MachineProvisioned state.
While custom properties can be applied to a machine from a number of sources, typically the property for a
state change workow is specied in a blueprint, enabling the workow for all machines provisioned from
that blueprint.
Prerequisites
Log in to the vRealize Automation console as a tenant administrator or business group manager.
Procedure
1 Select Design > Blueprints.
2 Point to the name of a blueprint and click Edit.
3 Click the Properties tab.
4 Click New Property.
5 Type the name of the custom property associated with the workow you want to enable in the Name
text box.
Customizable Workflow Name Associated Property Name
WFStubMachineProvisioned
ExternalWFStubs.MachineProvisioned
WFStubBuildingMachine
ExternalWFStubs.BuildingMachine
WFStubMachineDisposing
ExternalWFStubs.MachineDisposing
WFStubUnprovisionMachine
ExternalWFStubs.UnprovisionMachine
WFStubMachineRegistered
ExternalWFStubs.MachineRegistered
WFStubMachineExpired
ExternalWFStubs.MachineExpired
6 Leave the Value text box blank.
The workow depends on the presence of the property, not on any particular value.
7
Click the Save icon (
).
8 Click OK.
The workow is now enabled for new machines that are provisioned from this blueprint.
Configuring a Menu Operation Workflow
After you customize a menu operation workow, additional conguration is required before it is available
to users in the vRealize Automation console.
Chapter 1 Life Cycle Extensibility
VMware, Inc. 57