-
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
Customize your Buying Experience with the Salesforce for Retail Breakthrough
At the beginning of this year, Salesforce released a number of new innovations to assist retailers in increasing and optimizing advertising sales, obtaining a unified…
Imported for Person Accounts in Salesforce - All You Need To Know
Required Editions Information Import Wizard accessible in both Salesforce Classic and Lightning Experience. Information Import Wizard accessible all told Editions other than Database.com. Individual records…
Popular Salesforce Videos
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…
Salesforce Admin 201 Training for Beginners: Different Types of Relationship in Salesforce
The Salesforce Certified Administrator program is designed for individuals who have experience as a Salesforce administrator. The program encompasses the breadth of applications, the features…
What is Campaign Member in Salesforce? | How to add Leads and Contacts in Campaign object's record?
This video explains Campaign Members in-depth. Let's discuss the following things in this video: 1. What is the significance of Campaign members in Salesforce? 2.…