EnclosingContext - 8.0

Talend Data Mapper Functions Reference Guide

Version
8.0
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-10-26

Provides a map element to be used as the context that encloses a loop.

Normally (if this function is not specified), a loop in the output is enclosed by its nearest looping ancestor output map element. Use this function if you wish the enclosing loop to be a higher level output map element. This is useful when you want the loop context for input map elements inside of this loop to refer to the specific enclosing map element's loop instead of the nearest ancestor. This is used in the X12 EDI HL loop special processing.

Though this function specifies variable arguments, it can have exactly one argument.

This function can only be used in the Contexts argument of a loop expression.

Arguments

Variable arguments Add the map element to use as an enclosing loop.