You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example creates a counter variable and increments that
2522
-
variable by one during each iteration in an Until loop until
2523
-
the counter value reaches five. The example also creates a
2524
-
variable that tracks the current index for each iteration.
2525
-
In the Until loop, during each iteration, the example increments
2526
-
the counter and then assigns the counter value to the current
2527
-
index value and then increments the counter. At any time,
2528
-
you can determine the current iteration number by
2529
-
retrieving the current index value.
2520
+
This example creates a counter variable and increments that variable by one during each iteration in an Until loop until the counter value reaches five. The example also creates a variable that tracks the current index for each iteration. In the Until loop, during each iteration, the example increments the counter and then assigns the counter value to the current index value and then increments the counter. While in the loop, this example references the current iteration index by using the `iterationIndexes` function:
2530
2521
2531
-
```
2522
+
`iterationIndexes('Until_Max_Increment')`
2523
+
2524
+
```json
2532
2525
{
2533
2526
"actions": {
2534
2527
"Create_counter_variable": {
@@ -2559,7 +2552,7 @@ retrieving the current index value.
2559
2552
"Create_counter_variable": [ "Succeeded" ]
2560
2553
}
2561
2554
},
2562
-
"Until": {
2555
+
"Until_Max_Increment": {
2563
2556
"type": "Until",
2564
2557
"actions": {
2565
2558
"Assign_current_index_to_counter": {
@@ -2572,6 +2565,15 @@ retrieving the current index value.
0 commit comments