Salesforce – To Fetch and process more than 50000 records

|
| By Webner

To Fetch and process more than 50000 records in Salesforce

Problem

We want to fetch more than 50000 contacts and want to process them but are not able to do that due to salesforce Query limit.

Solution

Batch apex is the only option that will work. You can process up to 5 Million records in one batch. To read in detail about batch apex go to this link:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm

Webner Solutions is a Software Development company focused on developing CRM apps (Salesforce, Zoho), LMS Apps (Moodle/Totara), Websites and Mobile apps. If you need Salesforce customization, App development or any other software development assistance please contact us at salesforce@webners.com

Leave a Reply

Your email address will not be published. Required fields are marked *