Forum Discussion
New workflow designer accessing environment variables
Hi,
I really enjoy using the new workflow designer.
I've a triggered workflow (Email arrives) that I added into a solution. I'd like to use environment variables from within the workflow. The variables and the workflow are in the same solution.
Unfortunatly the environment variables are not visible like they were in the old designer.
How can I access them ?
Thanks in advance
3 Replies
philippe1 Have you found a workaround for this? I’m currently using the Environment Variable Value table, but this is only a temporary solution.
- philippe1Copper Contributor
I'm currently calling an old style flow who returns the environment variable value.
It is a workaround but it works.
You also need to add a dummy input parameter to your flow otherwise it doesn't work.
I know it is a lot of workarounds
Hi, in the new designer, environment variables can be a bit less obvious than in the old experience. I'd confirm the flow is inside the same solution, then try referencing the environment variable through the dynamic content/expression picker after saving and reopening the workflow. If it still does not show, temporarily switch to the classic designer or use the Dataverse environment variable definition/value tables as a workaround.