Loop error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2024 01:38 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2024 02:07 AM
Difficult to know the cause without the flow that you've designed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2024 07:29 AM
Hello @Jennifer Red
Can you check what is the value of property sn_flow_designer.max_iterations set in your instance.
Please mark the answer as helpful and correct if helped.
Kind Regards,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2024 05:07 AM
Hi @Jennifer Red ,
Please check the sn_flow_designer.max_iterations property in the sys_properties table. If the value is set too low, you can increase it as needed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you found my response **helpful**, I’d appreciate it if you could take a moment to select **"Accept as Solution"** and **"Helpful"** Your support not only benefits me but also enriches the community.
Thank you!
Moin Kazi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2024 04:39 PM
Common cause of "max iteration limit exceeded" error are the followings:
- Too Many Records: Processing a high number of records that exceeds the iteration limit
- Recursive Flows: A flow that calls itself directly or indirectly
- Infinite Loops: A loop without a proper termination condition
The execution result shows that you are trying to process more than 1000 records. sn_flow_designer.max_iterations by default is to 1000 record. It seems like filter condition in "Look Up Records" is not setup correctly and selecting too many records.
Open the table you're using in Look Up records and manually enter the filter condition there to see how many records are selected. It is not recommended to use Flow Designer to process too much records because it will impact performance.
If this is just a once time job, try to use Fix script to update the record instead of using Flow Designer.