CRT-211 practice question 20 of 30

A user at Ursa Major Solar is experiencing a flow error while trying to process a record to the next status. The users with the same access can process records without any errors. What should the administrator do to troubleshoot the issue?

Full set: 222 questions
Answer options
A: Use the flow debug option and set the selection to Run as another user. Correct answer
B: Grant the user more data access by moving them higher in the role hierarchy.
C: Change the flow to run as System Context Without Sharing - Access All Data.
D: Grant the user the Modify All permission to ensure they have full system access.
Correct Answer:
A. Use the flow debug option and set the selection to Run as another user.
Explanation

The problem occurs for a single user while others with the same access are unaffected, indicating an issue specific to that user's context or the specific record they are processing. The Flow Debugger has a feature to "Run as another user," which allows the administrator to execute the flow in the exact context of the affected user. This is the most direct and effective method to replicate the error, view the detailed execution path, and diagnose the root cause without altering permissions or the flow's design.

Why Incorrect

B. Grant the user more data access by moving them higher in the role hierarchy: This is a potential solution, not a troubleshooting step. The cause of the error should be identified before changing security settings.
C. Change the flow to run as System Context Without Sharing - Access All Data: This bypasses user permissions entirely, which might mask the root cause of the error and introduce security risks. It's not a diagnostic tool.
D. Grant the user the Modify All permission to ensure they have full system access: This is an excessive and insecure way to solve a problem. It is not a proper troubleshooting method and should be avoided.

References

1. Salesforce Help, Debug a Flow. This document describes the capabilities of the Flow Builder's debug tool.

2. Salesforce Help, Debug a Flow as Another User. This page specifically details the functionality of running a debug session in the context of another user to troubleshoot permission-related issues, stating, "This feature is useful for troubleshooting errors that your users encounter when they run a flow."

3. Salesforce Developer Documentation, Flow Builder, "Debug-as" section. This documentation explains that debugging as another user helps test the flow's behavior with user-specific permissions and data access.

Scroll to Top