Alteryx Designer Knowledge Base

Definitive answers from Designer experts.
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!

How To: Reference Windows User, Paths, or other Environment Variables in a Workflow

Alteryx Community Team
Alteryx Community Team

How To: Reference Windows User, Paths, or other Environment Variables in a Workflow


Did you know that you can call upon environment variables in Windows from a Formula tool?




  • Alteryx Designer




  1. To see the variables you have access to, navigate to Control Panel > System > Advanced system settings > Environment Variables on your Windows machine.

  2. Take note of the names of the variables stored there.


  3. If you want to include them in a workflow or report created with Alteyrx, just give them a call using the GetEnvironmentVariable() function:







Alteryx Certified Partner


Is there a place where all of the Alteryx environmental variables are found?

What I'm talking about are the variables that can be used in Email events (e.g., %User%, %NumErrors%, etc.)