Skip to main content Skip to complementary content

PutValueToExternalMap

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.
Information noteNote: 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!