Salesforce - To Fetch and process more than 50000 records

Author - Webner
14.10.2015
|
0 Comments
||

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

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published.