Below mentioned are the action keywords with their usage :
Action | Parameters | Example Usage |
---|---|---|
breakFor
To exit the for loop. | Example :
Exits the for loop. | |
breakForEach
To exit the forEach loop. | Example :
Exits the forEach loop. | |
endFor
To end the for loop. | Example :
Ends the for loop. | |
endForEach
To end the forEach loop. | Example :
Ends the forEach loop. | |
for
To execute the loop with starting index (mentioned in Parameter 1) and end index (mentioned in Parameter 2). Counter index will be stored in counter variable (mentioned in Parameter 3). | Param 1 : Index to start loop from | Example :
Executes the for loop with starting index 1, ends the loop at index 5 and stores the counter value in variable counter. |
forEach
To execute the loop for each values (mentioned in Parameter 1). Parameter 2 will store the value at specific index. Counter index will be stored in counter variable (mentioned in Parameter 3). | Param 1 : Comma separated values to execute on | Example :
Executes the loop for values 00000001,000000002, 0000000003 and stores counter index in counter variable. The actual value at counter index will be stored in currValue during execution. |
updateLoopCounter
To update the loop counter variable with value (value mentioned in parameter 1) to set the data row to pick for next iteration. | Param 1 : Value to be updated in the loop counter | Example :
Suppose you use for loop with starting index as 1, ending index as 8 and the counter value is stored in variable bqCounter. The normal for loop should execute all the values one by one, if the starting index is 1 and ending index is 8. |
Add Comment