7.3

Table Of Contents
Configuring the Timeout Values for States and Events
The default timeout value for all states and events is 30 minutes and is congured in the
vRealize Automation global seings. Some workows might take more time to run successfully. To
accommodate dierent workows in your environment, you can add timeout override values for individual
workows or states.
To modify the default timeout value, select Infrastructure > Administration > Global  and edit the
value for Extensibility lifecycle message timeout. If you make changes to the global seing, you must
restart the manager service.
To congure individual timeout values, add the workow or event property to the appSetting section of the
ManagerService.exe.config file, located on the IaaS server. The le is typically located in the %System-
Drive%\Program Files x86\VMware\vCAC\Server directory. You should always make a copy of the le before
editing it. If you make changes to the individual seings, you must restart the manager service.
The basic format for the keys is similar to the following examples.
n
For a workow. Extensibility.{workflow}.Timeout
n
For events. Extensibility.{workflow}.{state}.EVENT.{event}.Timeout
n
For states. Extensibility.{workflow}.{state}.(PRE/POST).Timeout
Use the following as examples when adding keys to the appSetting section. The timeout value format is
D.HH:mm:ss.ms. D is day and ms is milliseconds. Day and milliseconds are optional. Hours, minutes, and
seconds are required.
n
To set the timeout for the entire BasicVmWorkow workow to 30 minutes, add <add
key="Extensibility.BasicVmWorkflow.Timeout" value="00:30:00"/>.
n
To set the timeout for the OnFinalizeMachine global event in the VMPSMasterWorkow32 to two
hours, add <add
key="Extensibility.VMPSMasterWorkflow32.VMPSMasterWorkflow32.EVENT.OnFinalizeMachine.Timeout"
value="02:00:00"/>.
n
To set the timeout for the pre-request state of the VMPSMasterWorkow32 to 2 days, add <add
key="Extensibility.VMPSMasterWorkflow32.Requested.PRE.Timeout" value="2.00:00:00"/>.
Configuring the Error Behavior for States and Events
The workow subscription timeout and error handling has default behavior. You can custom the behavior
for machines in your environment.
IaaS handles event timeout and error proccessing from the Event Broker Service.
At each state transition, SendEBSMessage sends an event to the Event Broker Service and waits for a reply.
By default, if a timeout or an error is reported by the Event Broker Service, might occur, it is logged and the
workow resumes.
If a timeout or an error occurs during the following states in the master workow, the workow is forced
into the error state rather than resuming the workow.
Table 116. Exceptions Where Workflows Do Not Resume
State Where Error Occurs Error State
PRE MachineProvisioned UnprovisionMachine
PRE BuildingMachine Disposing
PRE RegisterMachine Finalized
Life Cycle Extensibility
34 VMware, Inc.