Défine global parameters.

Parameters:
See dedicated page for more information.
setGlobalParameters is a scripted action. Embedded code is accessible and customizable through this tab.
See dedicated page for more information.
The setGlobalParameters action is used to define global parameters dynamically based on the contents of an input table. This allows parameters to be declared once and reused across the ETL pipeline, enhancing modularity and reusability.
The action reads values from a single-row input table where each column name becomes the parameter name, and each cell value becomes the corresponding parameter value. This means you can programmatically set parameters like API keys, default paths, flags, filters, or configuration values based on upstream logic or external sources.
This action is particularly useful in pipelines where you need to:
Only the first row of the input table is considered. All other rows are ignored.
Parameter values are stored globally across the session and will be accessible from other parts of the pipeline where global parameters are referenced.
The setGlobalParameters action allows you to decouple hardcoded values from your transformation logic. Rather than specifying values directly in each action's parameters, you can reference globally set variables, making the pipeline easier to maintain and configure for multiple environments (e.g., dev, test, prod).
This is especially useful in scenarios where:
This action works best when used early in the pipeline to define parameters for later stages. It helps ensure that all components operate with the correct contextual settings, making pipelines cleaner and more maintainable.
Input Table
| RunID | param1 | param2 | param3 |
|---|---|---|---|
| run_1 | 123 | ON | /data |
With Number of columns to skip = 1, the action will:
RunID column.param1 = 123param2 = ONparam3 = /dataThese parameters can now be used in other actions via the syntax ${param1}, ${param2}, etc.
