Reputation: 83
There is over 300K records and I have Pagination turned on with 1000 threshold.
However I am not getting all the records?
Upvotes: 0
Views: 216
Reputation: 1731
**AFAIK ** 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. Here are the reference documents for this
If you're okay with apex model to retrieve more than 50k/1 million records through apex class in salesforce, follow this document
Get records from salesforce using Logic App
Get bulk data with Pagination
Upvotes: 1