Hi. I want to loop for a number of times decided by the user input. For example if a user selects a number 30, I want to loop it that many times.
Hi, I’m not an expert, but you should try using the iterator in a workflow (on button press or input changed)
1 Like
You can use an iterator, and as value of items, you can bind to Array(length)
with length being the desire times you want to repeat (can be a variable)
I just advice use to maybe but a max on it (just in case). Never trust the user
2 Likes
Thank you, yes I use the iterator but don’t know that you can bind it to a number(length).
Sorry @aurelie I tried but can’t, I mean can I bind it to a number and not an array? How do I do that?
Just use the formula i gave you, that will generate an array of the require length.
Array(10)
or Array(myVariable)
2 Likes
I see, now I understand . Thank you