Contact Us 1-800-596-4880

System (dw::System)

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

Name Description

envVar

Returns an environment variable with the specified name or null if the environment variable is not defined.

envVars

Returns all the environment variables defined in the host system as an array of strings.