Newer Version Available

This content describes an older version of this product. View Latest

AsyncOperationEvent

Notifies subscribers of asynchronous errors resulting from the publishing of high-volume platform event messages. This object is available in API version 46.0 and later.

Supported Calls

describeSObjects()

Supported Subscribers

Subscriber Supported?
Apex Triggers Yes
Flows
Processes
Streaming API (CometD) Yes

Streaming API Subscription Channel

/event/AsyncOperationEvent

Fields

Field Name Details
OperationDetails
Type
anyType
Properties
Nillable
Description
A list of AsyncOperationStatus objects.
OperationId
Type
string
Properties
Nillable
Description
A unique identifier for the operation associated with this event. When you publish an event message in Apex or APIs, the operation ID is returned in the SaveResult. Use the operation ID in this event to correlate it with the publish call.
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.
SourceEvent
Type
anyType
Properties
Nillable
Description
The payload of the platform event message that was being published.