-
Returning no. of records processed by a batch class in Salesforce
Hi everyone,
I am using a batch class to perform some DML on a list of accounts. I want to return the no. of records proccessed by this batch class, i.e. how many records were successfully processed and how many were not.
How do I implement this?
Thanks
Log In to reply.
Popular Salesforce Blogs
Test Classes In Apex Salesforce | The Developer Guide
Best Practices of Test Class in Salesforce @TestVisible - To access private member in Test Class Test.LoadData - Creating test data without code System.RunAs -…
All You Need to Know about Batch Apex in Salesforce
Contents: What is Batch Apex? Batch Apex is a very powerful asynchronous process introduced by Salesforce. Which is used to process a large number of…
All About Salesforce Health Check 101
If you are a Salesforce admin, your major worry must be security. You will be extra cautious as you are handling customer data and yes,…