You need to sign in to do that
Don't have an account?
steve pattinson
Batch Apex to count processed records
Hello Techie's
How to know the number of records processed in a batch operation while working with five million records. Any Help would be appreciated.
How to know the number of records processed in a batch operation while working with five million records. Any Help would be appreciated.
Please find the below code snippet with an example how to count the number of records which are processed in batch operation.
Please mark my solution as best answer if this helps you...............
Best Regards,
Nagendra.P
All Answers
Increment this value inside your processing loop.
Refer below link for code :
http://cloudisfuture.blogspot.ae/2012/11/batch-classes-in-salesforce.html
Please find the below code snippet with an example how to count the number of records which are processed in batch operation.
Please mark my solution as best answer if this helps you...............
Best Regards,
Nagendra.P
Mr.Nagendra and Mr.VineetKumar. :)
https://www.sfdc-lightning.com/