LoopCopy - 7.3

Talend Data Mapper Functions Reference Guide

Version
7.3
Language
English
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2023-01-05

Copies the loop expression from the specified output map element's loop expression.

This function specifies that the same looping instructions are to be used as the referenced output map element. This function is automatically generated when using an aggregate function to refer to the loop expression corresponding to the argument of the aggregate function. It is simply a shorthand for the loop expression to which is refers.

The difference between this and the LoopReference function is that this may be used anywhere in the map, and it will execute newly the loop expression to which is refers rather than taking the values emitted by the loop expression as originally executed (which is what LoopReference does).

This function can only be used in the Loop tab.

Arguments

Map Element Specify an output map element that has a loop expression.
Contexts Specify the context using the EnclosingContext or NestedContext function. EnclosingContext specifies the output map element that encloses this loop. If not specified, the nearest looping ancestor map element is used.