JavaScript executor
The JavaScript Executor is a powerful function that lets you write and run custom JavaScript code within your data pipeline. It’s beneficial when you need to:
- Perform complex calculations
- Apply custom business rules
- Handle data in ways that built-in transformations can’t
This step allows you to transform data exactly as needed, making it ideal for advanced or unique processing scenarios.
How to use JavaScript Executor?
Step 1: Join the JavaScript Executor to the source.
Step 2: Access the executor and input the script the user wishes to execute.
Step 3: Validate the script by clicking the “Validate” tab.
Step 4: Select “Configuration” to modify the settings as needed. In this section, the user can adjust the variable name and data types. Click “Save” to confirm the changes.
For example:
- We’re writing a query to generate a new column name “Capital” with all the “Channel” names in capital letters.

Preview
