Repeat step

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

Repeat steps do not automatically move the pointer in the source file. Therefore a Goto step that moves the cursor is added automatically within the loop to avoid an infinite loop, except in XML files. 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.
    • 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.

 
  • Last Topic Update: 28, June, 2017 05:58 AM
  • Last Published: 23, May, 2019 01:55 PM