-
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
Publishing an App on Salesforce AppExchange
Introduction There are three major steps to be followed to get your App on Salesforce AppExchange. Plan ( what type of App you want to…
Exciting Features Introduced at Dreamforce 2021 | Salesforce
We are just few weeks out of Dreamforce 2021, but already most of us have started missing it and nostalgically looking forward to the events…
Popular Salesforce Videos
Salesforce Commerce Cloud Migration Key Considerations
Embarking on a Salesforce Commerce Cloud migration journey? This extract from our latest webinar outlines the key considerations and best practices to ensure a seamless…
Salesforce Field Service: Complex Work and Routing | AblyPro Webinar
Salesforce Field Service is a powerful tool designed to help businesses manage complex field service workflows and optimize their routing processes. With Salesforce Field Service,…
Salesforce Development Tutorial - sObjects
It is very easy to learn Salesforce with the world class training tutorial. Training is key for the right knowledge. Those who work as an…