"Detected a recursive iteration over the same list." Exception

"Detected a recursive iteration over the same list." Exception

  

Hello Team,


I am stuck in a situation where I am using Local List Record to bind list of data to table record, but when I am trying to refresh the Table container I am getting this exception, "Detected a recursive iteration over the same list."


Can someone help me out here.


Thanks and Regards,

Atul Patel

Hi Atul,

Are you copying your Local List Record to another variable and iterating both variables in your logic? If yes, use the built in function List Duplicate to do that.

Hope it can help you.

Samuel

Hello Atul,

(Following Samuel post) 

Or are you using a one "For Each" loop inside the another? 

Could it also be possible that you are iterating same content more than one time?

Regards!

Hello Team,


I am not doing both of these. I have just copied the result from my SQL to a local list and then I am binding it to table records to display data.


I am ajax refreshing this table records then I am getting the exception.


Thanks

Atul Patel

MiP wrote:

hi Patel

https://www.outsystems.com/forums/discussion/22758/help-with-repetitive-loops-detected-a-recursive-iteration-over-the-same-list/

regards,

MiP

Hello MiP,


I have seen this post but I did not help me in my case.


Thanks 

Atul Patel


HI Atel,

Can you provide a simple OML?

regards,

MiP