Working with globalMap variables in a Job - 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

Use the PutValueToExternalMap and GetValueFromExternalMap functions to define and use globalMap variables in maps.

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.

About this task

In this example, you want to retrieve a list of characters from the Star Wars API. Since the response to the request is paginated, you first need to get the total number of pages and use it to define the number of loops needed to get all the data. Then you will retrieve each page number from the loop and include it in the output.