Activity Forums Salesforce® Discussions What is Batch Apex in Salesforce?

  • Kirandeep

    Member
    June 5, 2020 at 3:30 pm

    Batch Apex is used to run large jobs (think thousands or millions of records!) that would exceed normal processing limits. Using Batch Apex, you can process records asynchronously in batches (hence the name, “Batch Apex”) to stay within platform limits. ... Let's say you want to process 1 million records using Batch Apex.

  • Ratnesh

    Member
    June 8, 2020 at 6:08 am

    The execution logic of the batch class is called once for each batch of records you are processing. Each time you invoke a batch class, the job is placed on the Apex job queue and is executed as a discrete transaction.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos