-
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
Salesforce for Multi-Location Businesses: Managing Sales, Service, and Operations from One Platform
Running a multi-location business is no small feat. Whether you operate retail stores, healthcare centers, franchise outlets, manufacturing units, or service branches, managing operations across…
Salesforce Einstein Discovery
Einstein Discovery Einstein Discovery was originally developed by BeyondCore. It became part of an Analytics Cloud when Salesforce purchased the company. Einstein Discovery works with…
Revolutionizing Patient Care with Salesforce Healthcare Cloud
Introduction Technology is the riveting force behind changing health care in the modern world today. Salesforce Healthcare Cloud stands at the forefront of this revolution…
Popular Salesforce Videos
How to Switch your Career from Being an HR or a Recruiter to a Salesforce Developer/QA or a BA
In this video, Shrey has answered one of the most frequently asked questions about how someone who is working in HR or as a Recruiter…
Build a Discount Calculator | Trailhead - Autolaunched Flow Salesforce Example
In this video, I'm creating a Discount Calculator with the help of Salesforce Flow to Automate Your Business Processes with Lightning Flow. So it's a…
Custom Settings and Custom Metadata Explained | 3-Minute | Salesforce Tutorial
In this video, Alex walks you through Custom Settings and Custom Metadata types in Salesforce and the difference between them. Discover how ENWAY can assist…