-
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 Use Database.Stateful Interface In Batch Apex In Salesforce
1. In Batch apex Changes made by one execute do not transfer to the other execute, so we need to implement “Database.Stateful” if the batch process…
noKodr as Rapid Prototype Solution to Business in 2024
Introduction In today's fast-paced world, businesses need to quickly validate their ideas and concepts before investing significant time and resources into development. This is where…
Steps To Navigate Within Salesforce Lightning Components
Hi! As we know there is a tag force:navigateToComponent use to navigate within the Salesforce Lightning component. So here we will use this tag to…
Popular Salesforce Videos
Entrepreneurship in the Salesforce Ecosystem
The Salesforce Women’s Entrepreneur Group is a group of women who have founded and own businesses in the Salesforce ecosystem. Our goal is to inspire,…
Things You Should Know Before Starting Salesforce Consultancy?
Following are the things you should know before starting the Salesforce Consultancy: 1. Do the Marketing Research 2. Focus on USP The rest of the…
A Year of Innovation and Growth for Kizzy Consulting - Top Salesforce Partner!
2023 was an amazing year for Kizzy Consulting - Top Salesforce Partner! We achieved the status of Salesforce Ridge Partner, completed numerous Salesforce certifications, and…