ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 114 - Certified Advanced Administrator (CRT-211) discussion

Report
Export

An administrator has created a flow that sends platform events whenever an opportunity is updated. An Apex developer has been tasked to write code that listens for these events. When reviewing the debug logs for a user, the developer can see that the flow ran, but the debug Information is missing.

What should the administrator recommend to assist with debugging?

A.
Select the Debug Enabled checkbox on platform events,
Answers
A.
Select the Debug Enabled checkbox on platform events,
B.
Platform events are unavailable for debugging.
Answers
B.
Platform events are unavailable for debugging.
C.
Set a debug log on the Automated Process entity.
Answers
C.
Set a debug log on the Automated Process entity.
D.
Search the AppExchange to And a tool that assists with debugging.
Answers
D.
Search the AppExchange to And a tool that assists with debugging.
Suggested answer: C

Explanation:

To debug platform events in Apex code, you need to set a debug log on the Automated Process entity. This entity represents an automated process user that runs flows and processes in your org. By setting a debug log on this entity, you can capture the events that are published and consumed by your flow and Apex code, as well as any errors or exceptions that occur during the execution.

Reference: https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_debug.htm https://help.salesforce.com/s/articleView?id=sf.code_add_users_debug_log.htm&type=5

asked 23/09/2024
Corentin ADJOVI
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first