Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
import dw::System
output application/json
---
{ "envVars" : dw::System::envVars().SHELL }
This version of the product has entered Extended Support. You can switch to the latest version or use the version selector in the left navigation.
Returns all of the environment variables defined in the host system.
This example returns a Mac command console (SHELL) path. SHELL is one of
the standard Mac environment variables. To return all the environment
variables, you can use dw::System::envVars().