-
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
Benefits of Salesforce for Non-Profits
The non-profit organization seems to benefit the most out of the Salesforce CRM application compared to other CRM solutions. Non-profit Communities There are numerous communities…
Salesforce Integration : Streamlining Administrative Processes
In the dynamic world of business and education, administrative efficiency plays a vital role. Institutions, big or small, educational or corporate, require structured processes to…
Introduction to Lightning Web Components (LWC): A Beginner’s Guide to Building Dynamic Salesforce User Interfaces
LWC stands for "Lightning Web Components," and it is a modern web standard-based programming model provided by Salesforce for building user interfaces on the Salesforce…
Popular Salesforce Videos
Interested to Learn Salesforce? But Unsure Where to Start?
Salesforce is a popular CRM tool for support, sales, and marketing teams worldwide. Salesforce services allow businesses to use cloud technology to better connect with…
Things you can do with Loyalty Management in Salesforce to Create Lifelong Customers
Although keeping customers is not always simple, statistics show that when they are a part of an ongoing customer loyalty management program, they spend 67%…
What are APEX Environments? | Learn Salesforce Development
In this video, Shrey explained the Apex Environments. He covered answers for the following questions while explaining: What are the APEX Environments? Different types of…