Hear from Salesforce leaders on how to create and deploy Agentforce agents.
Contact Us 1-800-596-4880

dataFormatsDescriptor

dataFormatsDescriptor(): Array<DataFormatDescriptor>

Returns an array of all DataFormatDescriptor values that are installed in the current instance of DataWeave.

Experimental: This function is an experimental feature that is subject to change or removal from future versions of DataWeave.

Example

This example shows how dataFormatsDescriptor behaves with different inputs.

Source

import * from dw::Runtime
---
dataFormatsDescriptor()
DataWeave

Output