Cert++
Close

CommerceDiagnosticEvent for monitoring Commerce activity

Key Takeaway

CommerceDiagnosticEvent shows what ran in Commerce and how it ended: ContextId gives the key business record, CorrelationId links the calls, and a stored ReplayId retrieves missed events.

CommerceDiagnosticEvent is a platform event that tracks checkout, pricing, search, and other activity in a Commerce implementation, so you can monitor what happens and diagnose issues. Each event message records which Commerce service and operation ran and whether it succeeded. When the operation failed, the event message also records the error code and error message.

Availability and subscription channel

CommerceDiagnosticEvent is available in API version 49.0 and later, and only when the B2B Commerce license is enabled.

Subscribers receive these events on the subscription channel /event/CommerceDiagnosticEvent. The supported calls are create() and describeSObjects(). Event delivery allocation is enforced for CommerceDiagnosticEvent.

Salesforce Accredited B2B Commerce Developer Professional Study Guide

Checklist progress

0/124Learned

Troubleshoot the B2B Commerce system using available tools

0/22

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Salesforce Accredited B2B Commerce Developer Professional studiers.