Creating a dynamic array help

This might be fairly straight forward but I’m blanking here…

Let’s say I have a value X… X is a number, say 3.

How would I make an iterator “dynamic” so that it would change the number of items in the iterator to 3 items, and build it out in a way so that the array is a liner number counting up from 1 to X…

Can I use make functions to create that array of items to use in the ‘map’ section of the iterator?

Thanks!

An Iterator is for iterating an already created/existing array.

1.

If you want to build a new numbered array, you can try using a Repeater module with an Array Aggregator.

Screenshot_2023-12-05_091208

Screenshot_2023-12-05_091244

2.

Alternatively, you can “build” one directly in the array field in the iterator using the add function – however you can’t dynamically specify the number of items.

Screenshot_2023-12-05_091209

2 Likes