Infoveave Data Automation — Language Transforms
Column-level JavaScript expressions. Any derivation, any masking, any conditional logic.
Some transformation requirements are too specific for generic no-code activities — computing employee experience from a join date, masking password or account number fields before export, or applying conditional business logic with nested ternaries. Transform using JavaScript puts the full JavaScript expression language at your disposal for column-level operations, row by row, without requiring a code deployment or a dedicated script runner. Each output column is defined by a JS expression that can reference other columns in the same row.
Apply column-level JavaScript expressions to tabular data inside your Infoveave workflow. Derive new calculated columns, obfuscate sensitive values, compute date differences, and handle conditional logic — using inline JavaScript without deploying custom code.
Transform using JavaScript is one step inside a multi-step Infoveave workflow. Chain it with other activities — no code, no manual hand-offs.
Build this workflow visually in Infoveave Data Automation — drag, connect, and schedule with no infrastructure setup.
Real scenarios where this transformation saves hours of manual work.
A people analytics workflow includes employee join dates. Transform using JavaScript derives an Experience column using the expression (new Date()).getFullYear() - new Date(JoinDate).getFullYear(), producing years of service for each employee record in a single column map configuration.
Before financial data is delivered to a third-party audit tool, Transform using JavaScript replaces account numbers with masked values — keeping only the last 4 digits — using a JS expression that slices the string. The Include Original option is disabled so only masked columns appear in the output.
Patient records include a date of birth field. The workflow derives current age using JavaScript date arithmetic, which feeds the age-band classification transformation step and the clinical analytics dashboard.
Input data (left) is transformed using the configuration below. The output table (right) is ready for dashboards or downstream steps.
Experience: "(new Date()).getFullYear() - new Date(JoinDate).getFullYear()"
MaskedAccount: "'****' + AccountNo.slice(-4)"
true (retain all original columns)Input Data
| EmployeeID | Name | Department | Salary | JoinDate | AccountNo |
|---|---|---|---|---|---|
| 101 | John Doe | HR | 50000 | 2020-01-15 | 9876543210 |
| 102 | Jane Smith | IT | 70000 | 2019-03-10 | 1234567890 |
| 103 | Alice Johnson | Finance | 60000 | 2021-06-25 | 5678901234 |
Output Data
| EmployeeID | Name | Department | JoinDate | AccountNo | Experience | MaskedAccount |
|---|---|---|---|---|---|---|
| 101 | John Doe | HR | 2020-01-15 | 9876543210 | 5 | ****3210 |
| 102 | Jane Smith | IT | 2019-03-10 | 1234567890 | 6 | ****7890 |
| 103 | Alice Johnson | Finance | 2021-06-25 | 5678901234 | 3 | ****1234 |
Key fields to configure in the Infoveave workflow builder. Full reference available in the documentation.
Column Map
A mapping of output column names to JavaScript expressions. Each key is the output column name and each value is a JS expression that can reference other column names from the input row. Expressions are evaluated once per row. Example: { 'YearsActive': '(new Date()).getFullYear() - new Date(StartDate).getFullYear()' }.
Include Original
If enabled, all original input columns are retained in the output table alongside the new derived columns. If disabled, only the columns defined in the Column Map are included in the output — useful for creating clean, minimal output schemas.
Everything you need to know about Transform using JavaScript in Infoveave.
Transformations in the same family as Transform using JavaScript, often chained together in the same Infoveave workflow.
Part of Infoveave Data Automation
Transform using JavaScript is one of over 80 transformation activities available inside Infoveave workflows. Chain transformations together — no code, no exports, no waiting for IT.
Ready to see Infoveave in action?