Newer Version Available

This content describes an older version of this product. View Latest

DataWeave Namespace (Developer Preview)

The DataWeave namespace provides classes and methods to support the invocation of DataWeave scripts from Apex.

Feature is available as a developer preview. Feature isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don't implement functionality developed with these commands or tools in a production environment. You can provide feedback and suggestions for the DataWeave in Apex feature in the Trailblazer Community.

Note

DataWeave class methods are supported only in scratch orgs that have the DataWeaveInApex feature enabled. DataWeave in Apex doesn’t support packaging.

DataWeave is the MuleSoft expression language for accessing, parsing, and transforming data that travels through a Mule application. For detailed information, see DataWeave Language.

These are the classes in the DataWeave namespace.