GetValueFromExternalMap - 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

Fetches the value of a variable defined in a Job or Route.

Note: This feature is available only if you have installed the R2021-11 Studio monthly update or a later one delivered by Talend. For more information, check with your administrator.

When using a map in a Job, you can use the GetValueFromExternalMap function to retrieve the value of a globalMap variable.

When using a map in a Route, you can use the GetValueFromExternalMap function to retrieve a value saved in an external map. You have to create and save the external map in the execution properties with the identifier org.talend.transform.externalmap.

To use the Test Run feature with this function, you need create a CSV file in the Sample Data folder of the Hierarchical Mapper that contains sample key-value pairs. By default the name of the file should be org_talend_transform_externalmap_properties.csv. It can be modified in Window > Preferences > Mapping > Test.

Arguments

Key Specify the name of the variable to retrieve.