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

Creates a variable that can be reused in a Job or Route.

When using a map in a Job, you can use the PutValueToExternalMap function to define a globalMap variable that you can then use in other components.

When using a map in a Route, you can use the PutValueToExternalMap function to save a value to an external map. You have to create and save the external map in the execution properties with the identifier org.talend.transform.externalmap.
Note: By default the variable created is a String. To create a variable in another data type, it needs to be explicitly defined. For example, you can define a variable as a BigInteger using the XPath function xs:integer(%v).

Arguments

Key Specify the name of the variable to create.
Value Specify the value of the variable.