ServiceAppointmentEvent

Notifies subscribers of the service appointment details that are generated from the event platform. This object is available in API version 59.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
Flows 
Processes 
Pub/Sub APIYes
Streaming API (CometD)Yes

Subscription Channel 

/event/ServiceAppointmentEvent

Special Access Rules 

This object is available when Salesforce Scheduler is enabled.

Fields 

AsgnRsrcApptSchdDtlEvent 

Type: AsgnRsrcApptSchdEvent[]

Properties: Nillable

Description: One or multiple assigned resource records related to the scheduler appointment event.

ChangeType 

Type: string

Properties: Nillable

Description: The operation that caused the change. For example: CREATE, UPDATE, DELETE.

EventUuid 

Type: string

Properties: Nillable

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

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.

ServiceApptSchduleEvent 

Type: SvcApptSchdEvent[]

Properties: Nillable

Description: The service appointment related to the scheduler appointment event.