Activity › Forums › Salesforce® Discussions › Bulk record processing in apex class Tagged: Batch Class, Bulk Record, Salesforce Apex Class Salesforce® Discussions Bulk record processing in apex class Posted by Ajay Prakash on April 14, 2016 at 8:23 AM How can I get more than 50000 records at a time to be used in apex? Parul replied 7 years, 7 months ago 3 Members · 2 Replies Batch ClassBulk RecordSalesforce Apex Class 2 Replies Himanshu Member April 14, 2016 at 8:24 AM You can get these done through Batch class . [adinserter block='9'] 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me