function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AmandaByrnePBOAmandaByrnePBO 

Setting up debug log specifically for Account Creation

I need to track down the issues in an automated process that is supposed to be creating accounts in Salesforce.  I thought the best option for this might be a debug log, but I'm a bit overwhelmed with all the Salesforce documentation. The accounts are being created, but are missing some of the fields that should be populated.

Debugger seems to be primarily for tracking all the actions of a user?  Could you provide some direction for creating a debug log specifically for this type of use case or provide a better reference for breaking down ways of creating debug logs?

 
Shawn Reichner 29Shawn Reichner 29
You could do this this way, if I am understanding your need correctly. 

1. You could open the Developer Console and run your automation to create an account and look at the logs that are generated.  This could tell you where issues reside especially with any debug statement added to the automaion code.