function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jeff WaalkesJeff Waalkes 

Flow reaching iteration exceeding error in debug not sure what is causing this error

I have a flow that is automating the milestone completion when an email or call is logged. I am getting an iterations error with a loop within the flow. I know the error is cause by the count exceeding the 2000 number that is set within service cloud. The flow is supposed to search the contacts on the TO: or CC: line within an email to check and verify a contact within the case or association is linked within the reply and if so mark the milestone as complete. However, with this error it seems that it is looping through all of the contacts and erroring out. Any help regarding this would be appreciated. 
SUCHARITA MONDALSUCHARITA MONDAL

Hi Jeff,

You can probably check with below articles 
https://help.salesforce.com/s/articleView?id=000314438&type=1
https://forcepanda.wordpress.com/2020/02/04/how-to-cheat-flow-limits/

Hope you'll get some idea.

Thanks
Sucharita