How to create an iterator for a specific numerical value?

If you do not mind starting from 2 (or manually incrementing the increment module 9 times to “prime” the next run to be 10), then

you can use the Tools “Increment function” module —

Returns a value of 1 after first run. Every subsequent run will increment the returned value by 1.

e.g.:
Screenshot 2026-02-03 073626Screenshot 2026-02-03 073807

The counter value is {{(i % 10 + 1)}}
:high_voltage: Make Input Markup: Copy-paste the above into the field, including start/end curly brackets for it to import as intended :warning:

Replace i with the variable from the increment module.
This formula will produce 2-10, then 1-10 (repeatedly).

If you do not want the 2-10 bit, then manually run only the increment module 9 times to “use” numbers 1-9, so that the next full scenario run outputs 10.

For more information about the “Increment function” module and the Tools app, see the corresponding Integrations page and the Help Centre documentation.

Module Subflow Export - paste modules into your scenario

Copy and paste this into the scenario editor to import the example modules shown in my screenshots above.

{"subflows":[{"flow":[{"id":1,"module":"util:FunctionIncrement","version":1,"parameters":{"reset":"scenario"},"mapper":{},"metadata":{"designer":{"x":2737,"y":-2293,"name":"Counter"}}},{"id":2,"module":"util:ComposeTransformer","version":1,"parameters":{},"mapper":{"value":"The counter value is {{(1.i % 10 + 1)}}"},"metadata":{"designer":{"x":2980,"y":-2290}}}]}],"metadata":{"version":1}}
Need help❓View instructions ◀

1. Move your mouse over the line of code above.
Copy the JSON by clicking the copy button on the right-side:

2. Enter your scenario editor. Close any open panels by pressing ESC. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the editor.

3. Click on imported modules and re-save it to trigger validation. There may be some errors prompting you to re-map some variables and select connections.

Note: Did you know you can also reduce the size of blueprint exports and module subflows like the above, using my Make Blueprint Scrubber?



While this may work, this is terrible advice, because it uses double the number of necessary operations. Do not do this.

Hope this helps! If you are still having trouble, please provide more details.

@samliew