Creating a state change workflow enables you to trigger the execution of a workflow before the IaaS master workflow enters a specific state.

For example, you can create custom workflows to integrate with an external database and record information at different stages of the machine life cycle:

  • Create a custom workflow that runs before the master workflow enters the MachineProvisioned state to record such information as machine owner, approvers and so on.

  • Create a custom workflow that runs before a machine enters the MachineDisposing state to record the time at which the machine was destroyed and data such as its resource utilization at last data collection, last logon, and so on.

The following illustrations show the main states of the master workflow.

















vRealize Automation Designer provides a customizable workflow for each of these states.

Table 1. Customizable State Change Workflows

Master Workflow State

Customizable Workflow Name

BuildingMachine

WFStubBuildingMachine

Disposing

WFStubMachineDisposing

Expired

WFStubMachineExpired

MachineProvisioned

WFStubMachineProvisioned

RegisterMachine

WFStubMachineRegistered

UnprovisionMachine

WFStubUnprovisionMachine