7.3

Table Of Contents
Configure a Blueprint to Call a State Change Workflow
After you create a custom state change workow, a tenant administrator or business group manager must
enable it for specic blueprints by adding a custom property.
Each state change workow is associated with a specic custom property. When a machine is entering a
state with a corresponding state change workow, IaaS checks to see if the machine has the corresponding
custom property; if so, the associated workow is executed. For example, if a machine has the custom
property ExternalWFStubs.MachineProvisioned, the WFStubMachineProvisioned workow is executed before
the master workow 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 workow is specied in a blueprint, enabling the workow 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 workow 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 workow depends on the presence of the property, not on any particular value.
7
Click the Save icon (
).
8 Click OK.
The workow is now enabled for new machines that are provisioned from this blueprint.
Configuring a Menu Operation Workflow
After you customize a menu operation workow, additional conguration is required before it is available
to users in the vRealize Automation console.
Chapter 1 Life Cycle Extensibility
VMware, Inc. 57