-
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
Wrapper Classes in Salesforce | Here's What You Need to Know
Apex Wrapper Classes are custom classes in Salesforce that are used to hold one or more primitive data types as members. This allows for encapsulating…
Salesforce Marketing Cloud Connect: Subscriber Key Migration
If you’ve decided to implement Marketing Cloud Connect in your organization, one of the first considerations will be how to handle Subscriber Keys from Sales or Service…
Unique Features of Salesforce Marketing Cloud
Is it true that you think that it is hard to connect with your customers and build relationships with them? Is your company in need…
Popular Salesforce Videos
What is the Growth and Future of Salesforce Administrators In India
What is the Growth and Future of Salesforce Administrators In India? Listen to #shreysharma guiding and answering all of your queries.
Relationships in Salesforce | Why Relationships are Created?
In this video, Salesforce Rangers goes into detail about what relationships are in Salesforce and why they are necessary in the first place. This is…
Fillable PDFs for Salesforce Field Service
The ability to generate fillable PDFs for Salesforce Field Service can be a powerful tool. We demonstrate how to use PDFLib, a JavaScript library that…