ExamGecko
Question list
Search
Search

List of questions

Search

Question 240 - Certified B2B Commerce Administrator discussion

Report
Export

Which two technologies can subscribe to the CommerceDiagnosticEvents event?

A.
Aura Components
Answers
A.
Aura Components
B.
Processes
Answers
B.
Processes
C.
Streaming API
Answers
C.
Streaming API
D.
Lightning web components
Answers
D.
Lightning web components
Suggested answer: B, C

Explanation:

The CommerceDiagnosticEvents event is a platform event that tracks checkout, pricing, search, and other activity within a Commerce implementation to monitor events and diagnose issues.This event is available in API version 49.0 and later5. Two technologies that can subscribe to this event are Processes and Streaming API.

Processes are a declarative way to automate business processes in Salesforce. Processes can subscribe to platform events and execute actions based on the event message data.For example, a process can subscribe to the CommerceDiagnosticEvents event and send an email alert when an error occurs in a Commerce request6.

Streaming API is a programmatic way to receive notifications of changes to Salesforce data in near real-time. Streaming API can subscribe to platform events and push event messages to clients that are listening on a channel.For example, a Streaming API client can subscribe to the CommerceDiagnosticEvents event and display a dashboard of Commerce activity and performance7.Reference:5: CommerceDiagnosticEvent Object Reference - Salesforce Developers,6: Subscribe to Platform Events with Processes - Trailhead,7: Subscribe to Platform Events with Streaming API - Trailhead

asked 23/09/2024
Ayo dickson
50 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first