Local Data Fields in Loops

When using local data fields in loops, the value taken by the local data field during each iteration depends on the type of loop.

Multi-instance loop

Each instance of a multi-instance loop has a separate instance of the local data field, allowing parallel loops to execute without interfering with each other. However, the local data fields cannot be used in the loop expression.

Standard loop

The local data field is shared between all instances of a standard loop. It can be used to pass data between instances, and can be used in the loop conditional script.

Note: You cannot initialize a local data field prior to the first "Before" condition test.
Note: For both multi-instance and standard loops, the task initiate script runs just before executing the task for each iteration of the loop.