Batch Apex running mode (parallel and series) and how to maintain state in it
In my early post, I’d shared about how to write a Schedulable Batch Apex in Salesforce, and I’ll show you how transactions run in batch Apex and how to maintain their state across these transactions in this post.Batch Apex running mode (parallel / series) As we know, each execution of a batch Apex job is […]read more
Using Aggregate SOQL queries/results in Batch Apex
In previous post, we had created a schedulable batch apex that implements Database.Batchable in Salesforce, but if you want to use SOQL having aggregate functions like SUM(), MAX(), COUNT() on results grouped by “GROUP BY” clause in start execution, changing to interface Database.Batchable isn’t a workable way, because it fails with the below compile error […]read more
You must be logged in to post a comment.