Activity Forums Salesforce® Discussions Bulk record processing in apex class

  • Himanshu

    Member
    April 14, 2016 at 8:24 am

    You can get these done through Batch class .

  • Parul

    Member
    September 19, 2018 at 11:50 pm

    Hi,

    You should look at using Batch Apex to accomplish your goals.

    You cannot retrieve more than 50,000 records your SOQL calls in a single context.

    However, with  Batch Apex your logic will be processed in chunks of anywhere from 1 to 200 records in a batch.

    You'd need to modify your business logic to take the batching into account if necessary.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos