Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+
Nav

envVar

envVar(String): String | Null

Returns an environment variable with the specified name, or null if it’s not defined.

Example

        
     
1
2
3
4
5
%dw 2.0
import dw::System
output application/json
---
System::envVar("SYS_PSWD")