-
Is there any way to define more than 1 SOQL quires in a batchable class start method in Salesforce?
I have run into a case where i have to do same operation via batch over records in same object. But i cannot construct a query which can retrieve all of those records. Is there is way to achieve it with a single batchable class or i would have to create multiple classes.
Log In to reply.
Popular Salesforce Blogs

FlexDeploy Loves Salesforce: Source Control Your Salesforce Changes
FlexDeploy is an Enterprise DevOps platform with fully integrated support for Salesforce apps, metadata customizations, integrations and more. This is the second article in a…

How to Show The Required Fields in Salesforce Picklist Dynamically?
To show the require fields in Salesforce picklist you have to implement these codes in apex class. Apex class: public class objectController { public Map…

Wrapper Classes in Salesforce: Simplifying Complex Data Handling
Introduction: As a Salesforce developer, you've likely encountered scenarios where you need to work with complex data structures, such as lists or maps, to process…
Popular Salesforce Videos
How to Setup Multifactor Authentication in Salesforce Marketing Cloud
In this video, Cameron Robert shows how to enable and set up Multifactor Authentication in Salesforce Marketing Cloud, and then register for MFA using the…
Wildcards in SOSL | Clauses in SOSL | Learn Salesforce Development
In this video, Shrey covered Wildcards in SOSL in Salesforce. And also you will learn: What are the different Wildcards in SOSL? What are Clauses…
Learn REST APIs and Integrations Basics in Salesforce Development
In this video, we will learn about REST APIs & Integrations Basics in Salesforce development: We will be discussing the following things in this video:…