Add a Simple FOR LOOP condition to allow for Repeating a Sequence of Actions like Multiple Rows in another Table and more!

Continuing the discussion from Add multiple rows into a another table:

I could also make a proposal that the action: “Grouped: executive a sequence of actions” could be simply expanded to be a loop by having an additional expression for us developers to state what the condition of that FOR LOOP would be. It would allow for iteration, repeating a Sequence of Actions like ‘Multiple Rows in another Table’ and more!

You already have the logic that is scoped to constrain some conditions to particular purposes, like “Valid If”, “Initial Value”, “Show If”, etc.

(Perhaps on the backend you might define a hard limit, e.g. 100000 loop cycles max to avoid any potential infinite loop occurring.)

This is simple and would avoid such a complicated (and unnecessary) work around, like APIs, Webhooks, etc.

How about it back end developers? Can you implement it soon please?

Status Under Review
41 19 2,956
19 Comments

I was just lamenting about the lack of this feature as it relates to join table relationship handling. Of course on the many-to-many relationship side some of the handling is lacking as well. Since presetting many-to-many relationships is not a thing in AppSheet I had to resort to looping, and since looping is not an actual function I had to implement a process based off of @Steve and @MultiTech sample apps. In my case of course the looping needs to be available client side because of offline capability, rather than a bot processing on the server side which would not happen until later.

Steve
Platinum 4
Platinum 4

@Markus_Malessa all of my sample apps implement loops client-side.

Status changed to: Under Review
Roderick
Community Manager
Community Manager
 
aucforum
Bronze 3
Bronze 3

I am wondering how this might have been progressing please?