Skip to main content

Differences from DataWeave

TransformScript is inspired by DataWeave, the transformation language popularized by MuleSoft. If you're already productive in DataWeave, TransformScript will feel familiar: the core model and the day-to-day transformation patterns translate cleanly, and most scripts run as-is or need only minor edits.

TransformScript is an independent product, built by Files.com with its own runtime, security model, and platform goals. The areas where it intentionally differs from DataWeave are below.

Single-Script Execution

A TransformScript is a single script file, edited through the Files.com web interface or API. DataWeave supports including or importing additional files. TransformScript does not.

One Flat Function Namespace

TransformScript keeps all built-in functions in a single namespace rather than splitting them across modules you import. Common functionality is available immediately, and scripts stay easy to read. The library includes hundreds of functions. When a function shares a name with one in DataWeave's core library, it shares the same behavior, and the library also includes functions DataWeave doesn't have. See the Function Library.

No Streaming Execution

TransformScript reads each file fully into memory to process it. Input files are limited to 100 MB and output files to 200 MB. DataWeave on MuleSoft supports streaming and much larger files.

We intend to raise this limit as we learn more about how customers use TransformScript. If you have workflows that routinely exceed 100 MB, contact us. We want to hear about your requirements and discuss options.

Less Runtime Configuration

MuleSoft exposes many configurable settings such as buffer size and memory limits. TransformScript treats those as system details and tunes them for you, so it runs fast for the large majority of business-critical workloads without configuration.

No Java or application/dw

TransformScript is not built in Java. It does not support Java extensions or beans, the application/java or text/x-java-properties formats, or the application/dw format.

EDI and HIPAA Formats Work Differently

TransformScript's support for EDIFACT, X12, and HL7 was developed independently and operates differently from the MuleSoft extension packages for those formats. See EDI and Business Documents.