Flow designer iteration error

Neeta1
Tera Contributor

Hi Experts ,

 

Getting below error when flow iteration is trying to execute more then 2000 iteration -

Error -  Flow Designer: max iteration limit exceeded error in ServiceNow

 

Could you please suggest how to fix this issue ?

 

Thank you.

3 REPLIES 3

Peter Bodelier
Giga Sage

Hi @Neeta1 

 

This is defined in system property: sn_flow_designer.max_iterations

 

However, before you change that property, please make sure there is no other way to work around that. Because 2000 iterations in a flow is already very high.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Ankur Bawiskar
Tera Patron
Tera Patron

@Neeta1 

Check point mentioned by Peter.

Ideally your flow should not have those many iterations.

Please try to optimize the flow or discuss with your business team around the requirement

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sandeep Rajput
Tera Patron
Tera Patron

@Neeta1 2000 iteration is a big number to consume, could you please check your flow logic and see if it can be restructured.