Data TransformationLanguage TransformsIntermediate

Transform using JavaScript

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.

Input:Tabular data from previous activityOutput:Transformed table with new or replaced columns as defined by JavaScript expressions

What Transform using JavaScript does

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.

When to use Transform using JavaScript

  • You need to derive a column using logic that is specific to your business and not available in standard transformation activities
  • You need to mask, obfuscate, or hash sensitive columns (passwords, account numbers, personal IDs) before delivering data to a partner
  • You need to compute date-based metrics — employee tenure, days overdue, period gaps — using JavaScript date arithmetic
  • Your derivation requires conditional logic (ternary expressions, nested conditions) that would be cumbersome to build in no-code tools

When to avoid it

  • Your derivation is a straightforward arithmetic expression on two existing numeric columns — use a dedicated derivation activity which is simpler to audit
  • You need to apply logic across multiple rows (aggregation, window functions) — use Transform using SQL for row-set operations
  • You need to call an external API or service from within the transformation — JavaScript expressions run in a sandboxed context without network access

Where it fits in your Infoveave automation

Transform using JavaScript is one step inside a multi-step Infoveave workflow. Chain it with other activities — no code, no manual hand-offs.

IngestRead data from files, databases, or APIs
You are hereTransform using JavaScriptApply JS expressions to derive, mask, or compute new column values row by row
ValidateCheck derived values — range checks, null handling, format validation
Load or DeliverWrite to a database, dashboard, or export file

Build this workflow visually in Infoveave Data Automation — drag, connect, and schedule with no infrastructure setup.

Infoveave — Workflow Builder
● SavedSchedule: Daily 06:00
Data SourceIngestRead data from files, data…YOU ARE HERETransform using JavaScriptApply JS expressions to de…ValidateCheck derived values — ran…Load or DeliverWrite to a database, dashb…Dashboard

How teams use Transform using JavaScript

Real scenarios where this transformation saves hours of manual work.

HR

Employee Tenure Calculation

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.

Finance

Account Number Masking Before Partner Export

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.

Healthcare

Patient Age Derivation from DOB

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.

See Transform using JavaScript in action

Input data (left) is transformed using the configuration below. The output table (right) is ready for dashboards or downstream steps.

Column Map:Experience: "(new Date()).getFullYear() - new Date(JoinDate).getFullYear()" MaskedAccount: "'****' + AccountNo.slice(-4)"
Include Original:true (retain all original columns)

Input Data

EmployeeIDNameDepartmentSalaryJoinDateAccountNo
101John DoeHR500002020-01-159876543210
102Jane SmithIT700002019-03-101234567890
103Alice JohnsonFinance600002021-06-255678901234

Output Data

EmployeeIDNameDepartmentJoinDateAccountNoExperienceMaskedAccount
101John DoeHR2020-01-1598765432105****3210
102Jane SmithIT2019-03-1012345678906****7890
103Alice JohnsonFinance2021-06-2556789012343****1234

Configuration

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.

Frequently asked questions

Everything you need to know about Transform using JavaScript in Infoveave.

Also in Language Transforms — and what runs before & after

Transformations in the same family as Transform using JavaScript, often chained together in the same Infoveave workflow.

Part of Infoveave Data Automation

80+ transformations. Zero manual steps.

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?

Book a Demo
ISO 27001ISO 27017ISO 27701GDPRHIPAACCPAAICPACSR LogoCapterra Reviews — Infoveave

© 2026 Noesys Software Pvt Ltd

Infoveave® is a product of Noesys

All Rights Reserved