Skip to main content

Clone Row

Description

Clone Row duplicates each incoming row a specified number of times and outputs the copies directly after the original. Use this step when your workflow needs to create multiple copies of each record — for example, generating duplicate entries for testing, producing multiple output lines per input record, or feeding the same data to parallel processing paths. It can add a flag field to distinguish clones from originals and a clone number field to identify each copy.

Configurations

Field NameDescription
Select & Alter Tab:
Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
Nr clonesSpecify the number of clones you want to add after the original row.
Nr clone in field?Select the checkbox if you want number of clones in a field of your choice.
Nr Clone fieldSelect the field of which you want to clone the rows.

Note: This field is available only if you select the Nr clones checkbox.

Add clone flag to output?Select the checkbox if you want to add a Boolean field in the output indicating if the row is a clone or not. N / false: this is not a cloned row, it's the original row Y / true: this is a cloned row, a copy of the original row
Clone flag fieldSpecify the name of the clone flag field.
Add clone num toSelect the checkbox if you want to add a number to the clone.
Clone num fieldSpecify the cloned number.