What is the optimal...
 
Notifications
Clear all

What is the optimal method for a developer to troubleshoot this?

1 Posts
1 Users
0 Likes
119 Views
(@finnecolton)
Noble Member
Joined: 2 years ago
Posts: 729
Topic starter  

An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders .

What is the optimal method for a developer to troubleshoot this?

  • A . Run the Apex Test Classes for the Apex trigger to ensure the code still has sufficient code coverage.
  • B . Turn off all Workflow Rules, then turn them on one at time to see which one causes the error.
  • C . add system.debug() statements to the code and use the Developer Console logs to trace the code.
  • D . Set up debug logging for every Sales Rep, then monitor the logs for errors and exceptions.

Show Answer Hide Answer

Suggested Answer: C

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: