---
schema_version: "1"
id: 4ad8ea5805ac1b328864fe8f68be149c965963a0b96ec9b171d7cb3093b6f2ac
title: version
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.12/dw-runtime-functions-version.md
canonical_url: https://docs.mulesoft.com/dataweave/2.12/dw-runtime-functions-version
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 96a89efb96095062b843fb82c3a7f5f980ba693a89a0df2765710bc1680b7954
description: MuleSoft Documentation Site
release: "2.12"
latest: false
---
---
product: DataWeave
version: 2.12
---

# version

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## 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

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

#### Output

```Json
"2.5"
```
