Contact Us 1-800-596-4880

version

version(): String

Returns the DataWeave version that is currently running.

Introduced in DataWeave version 2.5.0.

Example

This example returns the DataWeave version.

Source

%dw 2.0
import * from dw::Runtime
output application/json
---
version()

Output

"2.5"