Overview
Generates a sequence of numbers from Start to End using Step. On each run, emits the next number. Often paired with Loop controller to terminate iteration after the last value.
Node Information
| Property |
Value |
| Category |
Data flow |
| Display Name |
Data range |
| Internal Name |
dataRange |
Parameters
| Parameter |
Type |
Default |
Description |
| Start |
number |
0 |
Starting value |
| End |
number |
10 |
End value (inclusive check in implementation) |
| Step |
number |
1 |
Increment per iteration |
Input Ports
| Port |
Type |
Accepts |
Required |
Description |
| Start |
Number |
Number |
No |
Optional parameter input override |
| End |
Number |
Number |
No |
Optional parameter input override |
| Step |
Number |
Number |
No |
Optional parameter input override |
Output Ports
| Port |
Type |
Description |
| Data output |
Number |
Current number in the range |
Process Flow Exits
| Exit |
Condition |
Description |
| Main branch |
Always |
Continues to downstream nodes; use Loop controller to exit when complete |
How It Works
- Initializes loop state on first run: stores
{ start, end, step } and a counter.
- Emits
start + step * counter each run.
- When the emitted value is >= End, marks complete and resets counter to 0 for the next cycle.
- Marked as loopControlledNode so Loop controller can detect completion.
Best Practices
- Ensure Start, End, and Step are consistent (avoid zero or negative Step unless intentional).
- Use Loop controller to exit cleanly after the final value.