Activity Forums Salesforce® Discussions What are the advantages of using Batch Apex instead of a trigger?

  • Suraj

    Member
    April 21, 2017 at 1:47 pm

    Hi Manpreet,

    A Batch class allows you to define a single job that can be broken up into manageable chunks that will be processed separately.

    If you have 10,001 Account records in your org, this is impossible without some way of breaking it up.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos