Debug a Salesforce Scheduler Flow as Another User

Test and debug a flow as another user without logging in as that user. You can troubleshoot a flow by seeing the flow’s debug log as a user sees it.

Required Editions

Available in: Lightning Experience.
Available in: Enterprise and Unlimited Editions
  1. In Setup, in the Quick Find box, enter Process Automation Settings, and then select Process Automation Settings.
  2. Select the Let admins debug flows as other users checkbox.
  3. Save your changes.
  4. In Flow Builder, click Debug, and then select the Run flow as another user checkbox.
  5. Choose the user to simulate while running the flow.
  6. The flow debug run starts with the simulated user. Review the debug details.