Everything you need to talk and write about us

Salesforce MVPs, Ninja series Blogs

Batch Apex

Posted by Srivalli T

In this blog we will learn how to use Batch Apex. It is used to run large jobs (think thousands or millions of records) that would exceed normal processing limits. Each time you invoke a batch class, the job is placed on the Apex job queue and is executed as a discrete transaction. Definition: Batch Apex allows you to define a single job that can be broken up into manageable chunks,where every chunk can be processed separately. When will we go to Batch Apex: Let’s take an example – In your org, there are more than 10,000 records in Account

Read More