Repeat step

The Repeat step is a loop that may run 0 or more times, depending on the condition specified. It is generally used for the extraction of transactional data; see Extracting transactional data.

Repeat steps do not automatically move the pointer in the source file. Therefore, when adding a Repeat step, a Goto step that moves the cursor is inserted automatically inside the loop to avoid an infinite loop, except with XML data. When you select a node in an XML file and add a Repeat step on it, the Repeat step will automatically loop over all nodes of the same type on the same level in the XML file.

Adding a Repeat step

To add a Repeat step:

  1. On the Steps pane, select the step after which to insert the Condition step.
  2. Make sure that the cursor is located where the extraction loop must start. By default the cursor is located at the top of the page or record, but previous steps in the extraction workflow may have moved it down. If necessary, add a Goto step (see Goto step).
    This step can be skipped when the data source is an XML file.
  3. Add the Repeat step: select data in the line or row where the loop must end, right-click on it and select Add Repeat, or right-click the Steps pane and select Add a Step > Add Repeat.
    Make the required settings on the Step properties pane.

Configuring a Repeat step

For information about how to configure the Repeat step, see Repeat step properties.

How to use it in an extraction workflow is explained in the topic: Extracting transactional data.