-
Notifications
You must be signed in to change notification settings - Fork 0
Loops
Ian Holdsworth edited this page Jan 6, 2023
·
3 revisions
Loops provide a way of iterating over data or a set number of times and calling a worksheet with the relevant data for that iteration
Loops through one Worksheet passing that rows values to another Worksheet to Execute
e.g.
| Action | ||
|---|---|---|
| Loop | MySheet | CalledSheet |
| Test Data 1 | ||
| Test Data 2 | ||
| Test Data 3 | ||
| Test Data 4 |
| Action | ||
|---|---|---|
| Do Action | PARAM1 |
MainSheet Row 1 loops through the rows in MySheet calling CalledSheet with the row of data as the parameters
Call a worksheet a set number of times
e.g.
| Action | ||
|---|---|---|
| loop | 3 | CalledSheet |
Calls CalledSheet 3 times
| Action | ||
|---|---|---|
| Set Local Int | MyInt | 5 |
| loop | MyInt | CalledSheet |
Calls CalledSheet MyInt times