What does the flow-related error: System.LimitException: Too many SOQL queries: 101 mean?

646    Asked by DianaCampbell in Salesforce , Asked on Aug 23, 2023

 I have created a flow that can capture the duration in every opportunity stage. But when I try to run the flow, I get the system.LimitException: Too many SOQL queries: 101 error. Even though I know I may have hit the SOQL query limit, I am unable to understand which flow is responsible. Can I get any suggestions as to what it means or how to solve this? 

 The System.LimitException: Too many SOQL queries 101 occurs when you cross the limit of the Execution Governors. It means you can run 100 SOQL queries in one call. You are getting this error because you may have triggered a record and updated the same, which, as a result, triggers the flow creating an infinite loop. It shows the 101 error. You can use the Before Save update flows to use the fast field updates.



Your Answer

Interviews

Parent Categories