App Flow Repeat loop

Hi

Quick question, I need to loop through a database table and on each record I need to store a field in an array. I am using an app flow and I have a serve connect on a the page which pulls out the filtered data. I then use a repeat, referencing the serverconnect. As a test, I am just putting it into a toast at the moment to check I am getting the correct data . What I am finding is it pulls out the first record but never moves on to the next. Do I need to increment the index on each loop, or does the Repeat cover this automatically

Many thanks

Have you had a look at the Data Iterator?

https://docsdev.wappler.io/guides/loop-through-database-records-with-the-data-iterator-component/11479

1 Like