Infinite iteration happened unfortunately

Is there any perfect solution to stop infinite iteration in server logic, I was searching for old forum posts for any solutions but unfortunately not found , suggest me a good solution if possible 

Best regards,



If this issue already happened and you want to stop execution you can restart IIS server or stop database server if this execution communicating with database so exception can be raised and stop execution.

After that review your logic and fix this issue then perform testing first before deciding to publish you logic to other environments.


First of all, we should not build a logic that is likely to go into an infinite loop. If there is even slightest possibility of it, we must put all safeguards in place to not let that happen. For instance there is a Maximum Iterations property in For Each.

Hope it helps!


I unfortunately join a false branch of if node to that if node 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.