Newer Version Available

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

AsyncOperationEvent (Beta)

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.

The /event/AsyncOperationEvent beta channel is no longer available to new subscriber Salesforce orgs as of October 12, 2019. Some Salesforce orgs that subscribed to the channel between September 13, 2019 and October 12, 2019 will continue to have access to it. As a beta feature, the /event/AsyncOperationEvent channel is a preview and isn’t part of the “Services” under your master subscription agreement with Salesforce. Use this feature at your sole discretion, and make your purchase decisions only on the basis of generally available products and features. Salesforce doesn’t guarantee general availability of this feature within any particular time frame or at all, and we can discontinue it at any time. This feature is for evaluation purposes only, not for production use. It’s offered as is and isn’t supported, and Salesforce has no liability for any harm or damage arising out of or in connection with it. All restrictions, Salesforce reservation of rights, obligations concerning the Services, and terms for related Non-Salesforce Applications and Content apply equally to your use of this feature. You can provide feedback and suggestions for the /event/AsyncOperationEvent channel in the Trailblazer Community.

Note

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.