-
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
How to Host LWC OSS Apps on Github Pages | Salesforce Developer Guide
Introduction GitHub Pages is a static site hosting service that takes files straight from your GitHub Repo to create a website. These files include HTML,…
Top 10 Salesforce Consultants by Forcetalks
Apphienz ranks 2nd among the Top 10 Salesforce Consultants by Forcetalks Forcetalks is a Salesforce Community For You, Of You, By You. It is a…
Save The Date: Salesforce Spring '22 Release Dates Are Here
Attention please: The most eagerly anticipated release updates have arrived. The sandbox preview window for Spring '22 is approaching quickly; plan early so you know…
Popular Salesforce Videos
2020 Salesforce Administrator Certification Start Here
Get ready for the administrator certification exam with interactive study tools. Collaborate and study with fellow Trailblazers in the Trailblazer Community. Learn with Salesforce experts…
Smart Merchandising with Salesforce Einstein AI
Smart Merchandising is a holistic tool that magically combines rich insights from site-wide search, navigation, purchases, and the customer’s current session with strategic business goals.…
Use Salesforce Notification Builder to Get Notifications to the Right Users in the Right Apps
Did you know you can use Notification Builder to create custom notifications for teams, task queues, and public groups? You can also replace standard notifications…