Newer Version Available

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

DataWeave Namespace (Beta)

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

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms. You can provide feedback and suggestions for the DataWeave in Apex feature in the Trailblazer Community. The beta release of DataWeave in Apex supports packaging of DataWeave scripts within a namespace. However, you can only access scripts within a package, not across different namespaces.

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.