Dear Community,
We tried to make a use of Environmental Variables (User or System) within workflows, as well as investigated many articles on the topic, which are either radically confirmed Alteryx does not support them (dated from sometime 2019) or giving a specific solution which will not help to work with Environmental Variables fully as we plan.
So, taking all gathered knowledge from Community articles on the topic we tried to trick logic via encapsulating of a Directory function into a Macro:

however, first function was always pointing the following error

, and then added that macro to our parent workflow, but macro was always pointing out to below mentioned error:

So, we trying to understand is our approach is a winning on a long term and we simply missing some bit somewhere (then please suggest what was wrong), or Alteryx in 2021 is indeed is still is not ready to accommodate useful operation with Environmental Variables.
Some additional details:
input function was set as below

environmental variable was set as below

formula was set as below

and output of formula function as retrieving the path which was set on system settings "C:\ALTERYX"
Looking forward for a useful comment.
Many Thanks in advance!
Emil