-
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
Enhance Customer Engagement in Trading in 2024
Introduction: In the fast-paced world of trading, where every second counts, establishing and maintaining strong customer relationships is paramount. Salesforce, a leading customer relationship management…
Spring ’23 New Release Update | All You Need to Know
Spring '23 features that align with the core admin responsibilities are: Release Highlights for Admins Salesforce Admins drive innovation with four core responsibilities: User Management,…
Back Up Metadata to Secure and Restore Your Customizations | Salesforce Guide
You can protect your organization’s customizations, like customized fields, custom Apex code (Everything you wrote in your console), page layouts, reports, and permission sets, by…
Popular Salesforce Videos
Salesforce Marketing Cloud Automation Studio
Automation Studio is a Marketing Cloud application used to execute multi-step marketing and data management activities on an immediate, triggered, or scheduled basis. Use Automation…
What is a Salesforce Architect?
If you are not familiar with the ‘Solution Architect’ role then it can be explained relatively simply. Solution Architects are ultimately responsible for the ‘Solution’…
Salesforce Platform Quick Tip: How to Optimize UI for Mobile Users
How do you design Salesforce for use on either a desktop monitor or a phone? What looks great on a big monitor looks crowded on…