Salesforce Certified Advanced Administrator — Question 112

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?

Answer options

Correct answer: B

Explanation

The correct answer is B because enabling the Debug Enabled checkbox on platform events allows for the generation of debug logs that can help in troubleshooting. Option A is incorrect as it does not directly address the issue at hand. Option C is incorrect because platform events can be debugged with the right settings. Option D, while it suggests logging, does not specifically target the platform events that need to be debugged.