EnclosingContext - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

Name

EnclosingContext

Purpose

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

Description

This function can be used only in the Contexts argument of a loop expression and specifies the output map element to enclose this 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.

Variable Arguments

Variable Argument Type

[Map] Element