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.


Name Description


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


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

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!
Take our latest survey!