Skip to main content
4 answers
  1. Oct 2, 2023, 9:59 PM

    Thanks to Mike Wheeler I was able to apply some of the principles taught in his Udemy admin course.

     

    In ChatGPT

     

    Prompt 1: Please provide me with batch apex code for Salesforce so that I can execute it anonymously via the Developer Console to mass delete all records that belong to this custom object - AcquiredAccount__c This can be any object of your choice

     

    (*Find out which Objects are occupying what amount of space by going to: Quick Find Storage Usage, once you start deleting this will show you the progress of your actions) Use Object Manage to get the correct APIs for Prompt 1

     

    *****Prompt 2: Combine the code so that I don't have to write a class. I want to execute an anonymous****IMPORTANT****

    Copy the code provided in prompt 2 and paste it into the Dev console as shown.

    Pay attention to Entitlements and Cases

     

    If you get error, describe it to ChatGPT 

    Thanks to Mike Wheeler I was able to apply some of the principles taught in his Udemy admin course.

0/9000