-
How to handle "Too many soql queries:101" problem in Salesforce?
Hi,
when I close a case then 32 queries run in the whole process to close a single case.
Now I want to run a schedule in which I am fetching a list of cases which will be always more than 50-60 per day by this I am getting an error "Too many SOQL queries:101" (because in 3 case soql queries will be 3*32=96 near about to 100).
so please tell me how to handle this process that in one time I call only for 3 cases batched.Regards,
Rahul Kumar
Log In to reply.
Popular Salesforce Blogs

5 Salesforce Lightning Features You're Missing Out On
Personalities praised for being bold, unique and intuitive deserve a working environment that reflects the same. Salesforce has transitioned from data entry focused on workflow…

What is the Search Box In Aura Component? | The Developer Guide
A search box in an Aura component is a user interface element that allows users to input text and search for relevant information within the…

Essentials Question To Gauge Digital Transformation Of An Organization | Salesforce Guide
In an internet-driven world that demands an online presence to stay in tune with the evolving marketplace, every industry needs to keep up with the…
Popular Salesforce Videos
What is Lookup Relationship in Salesforce?
In this video, Shrey is not only teaching but also demonstrating to you "What is Lookup Relationship in Salesforce?". You will be learning: 1. How…
Custom Portfolio in Salesforce | Mini Project | Salesforce Tutorials
In this video, we will create a custom portfolio in Salesforce. We will create a custom community in Salesforce and customize it to create the…
Salesforce Einstein Prediction Builder and Einstein Next Best Action
Salaesforce Einstein Prediction Builder is a declarative tool that helps fast-track predictions based on Salesforce fields. This will help a Salesforce admin to custom-build predictions…