DataObjectMetadataChgEvent

Notifies subscribers of a metadata change within Data Cloud for these objects: Data Lake, Data Model, and Calculated Insight. This object is available in API version 53.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesYes
Pub/Sub APIYes
Streaming API (CometD)Yes

Subscription Channel 

/event/DataObjectMetadataChgEvent

Special Access Rules 

DataObjectMetadataChgEvent is available only if Data Cloud is enabled.

Event Delivery Allocation Enforced 

Yes

Fields 

CurrentValue 

Type: textarea

Properties: Nillable

Description: The serialized schema of the current metadata.

EventCreationDate 

Type: dateTime

Properties: Nillable

Description: The date and time when the event occurred.

EventPublishDate 

Type: dateTime

Properties: Nillable

Description: The date and time when the event published.

EventType 

Type: string

Properties: Nillable

Description: The type of event that occurred.

EventUuid 

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message.

PreviousValue 

Type: textarea

Properties: Nillable

Description: The serialized schema of the metadata before the change.

ReplayId 

Type: string

Properties: Nillable

Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.

SchemaVersion 

Type: string

Properties: Nillable

Description: The version of the event schema.

SourceTableDeveloperName 

Type: string

Properties: Nillable

Description: The source entity name on which the metadata change has occurred.

Trigger 

Type: string

Properties: Nillable

Description: The trigger data definition language type that caused the event. Examples: DELETE, INSERT, or UPDATE