Get Iteration

This action gets the current iteration of an enclosing loop step and stores it in a variable.

When looping through a list of objects, this action is useful if the number of the current object that you are extracting is important.

Properties

The Get Iteration action can be configured using the following properties:

Loop Step:
The number of the loop step whose iteration to get, either counting forward from the first loop step in the robot, or backward from the immediately enclosing loop step. For example, if 2 is entered and "From Last" is chosen, the iteration of the second innermost enclosing loop step will be chosen.
Store Iteration Here:
The variable to store the iteration in.