2019.1

Table Of Contents
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"
below).
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 "Text and PDF Files" on
page360.
How to use it in an extraction workflow is explained in the topic: "Extracting transactional data"
on page244.
Goto step
Although invisible, there is a cursor in the Data Viewer that represents the location that the
extraction workflow will be processing next in the current record. In an extraction workflow the
cursor starts off at the top-left corner of each record in the source data.
The Goto step can move the cursor to a certain location in the current record. The target
location can be relative to the top of the record or to the current position.
When the Goto step is used within a Repeat step, it moves the cursor in each loop of the
Repeat step. In this case the new location has to be relative to the current position.
Page 262