# Data Object - CustomFieldValueChangedEvent(vim.event.CustomFieldValueChangedEvent)

Extends
  CustomFieldEvent
See also
  ManagedEntityEventArgument

## Data Object Description

This event records a change to a custom field value for a particular entity.

Properties

Name | Type | Description
--- | --- | ---
entity | ManagedEntityEventArgument | The entity on which the field value was changed.
fieldKey | xsd:int | The custom field whose value was changed for the entity.
name | xsd:string | The name of the custom field at the time the value was changed.
prevState* | xsd:string | The previous service state. Since vSphere API 6.5
value | xsd:string | The new value that was set.
Properties inherited from CustomFieldEvent
None
Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CustomFieldValueChangedEvent"> <complexContent> <extension base="vsan:CustomFieldEvent"> <sequence> <element name="entity" type="vsan:ManagedEntityEventArgument"/> <element name="fieldKey" type="xsd:int"/> <element name="name" type="xsd:string"/> <element name="value" type="xsd:string"/> <element name="prevState" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>