---
schema_version: "1"
id: 283c5f9e2268a5c3a36160b0fed4bce9be12f8af7e26369e74ae7c7a7188d9c2
title: System (dw::System)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-system.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-system
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 5df7c16b8050e6c5ca158dbf8397699949d42349381f922c59115fe8bae74476
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

# System (dw::System)

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

This module contains functions that allow you to interact with the underlying system.

To use this module, you must import it to your DataWeave code, for example, by adding the line
`import * from dw::System` to the header of your DataWeave script.

## Functions

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-system-functions-envvar">envVar</a></p></td><td><p>Returns an environment variable with the specified name or <code>null</code> if the environment variable is not defined.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-system-functions-envvars">envVars</a></p></td><td><p>Returns all the environment variables defined in the host system as an array of strings.</p></td></tr></tbody></table>
