Variables

Allows you to use variables in your pipelines at runtime as per the scope.

To add a variable, click on Create New Variable (+) icon and provide details as explained below.

CreateVariable

FieldDescription
NameProvide a name for the variable to be created.
Data Type

Select Data Type out of:

- Number

- Decimal

- String

ValueAssign a value to the variable. It will be replaced in the component’s configuration field wherever the variable is used.
Scope

Select the Scope out of:

Project: The scope of variable will be within the project where it is created.

Application: The scope of variable will be within the selected application.

Organization: The scope of variable will be across the application, accessible across projects.

Note:

- A variable with scope set as Organization can also be utilized in the Functions Processor →.

View the listing page to check the details about the created Variable. Such as Name, Initial value, Value, Data Type, Scope, Parent Project (the project in which the Variable is created), Owner, and Actions.

Scope Variable Supported Components

Add Scope Variable to reuse and update them as and when needed on the below supported components:

  • JDBC (Data Source and Emitter)

    Can be used in Query configuration field.

  • GCS (Batch and Streaming Data Sources and Emitter)

    Can be used in File Path configuration field.

  • Expression Filter

  • Expression Evaluator


Supported Formats for Adding Scope Variables

@{Application.filepath} = /user/gcs

@{Organization.filepath}/JSON/demo.json = /user/gcs/JSON/demo.json

@{Application.filepath + ‘/JSON/demo.json’} = /user/gcs/JSON/demo.json

@{Organization.lastdecimal + 4} // will add number = 14.0

Top