Skip to main content Skip to complementary content

GetValueFromExternalMap

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

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.

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!