-
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
Top Benefits of Salesforce Customization Development | All You Need to Know
As data generation is evolving, business enterprises need to leverage a CRM platform to streamline their data in an organized way. Salesforce is one of…
Get Started With Salesforce Health Cloud
The managed package includes five different data models and it continues to expand. General understanding of data models and the out-of-the-box capabilities of Health Cloud.…
Popular Salesforce Videos
What is Salesforce Labs?
Free. Open Source. Solutions by Salesforce Employees. From bots to dashboard packs and beyond, Salesforce Labs has something to fit all your business needs. Watch…
How to Create Seamless Buying Experiences | Salesforce CPQ & B2B Commerce
B2B buying is evolving as buyers want a better, more personalized experience when shopping for their businesses. But Salesforce has that covered. Here are 4…
Manual & Apex Managed Sharing in Salesforce
In this video, we will talk about Manual Sharing and Apex Managed Sharing. Manual Sharing Manual Sharing is used to share the record Manually. For…