Hi @stevensim226,
I just realized that I referenced another parameter than the env_var_name
one in the logic statement of my test run, and therefore wrongly believed the env_var_name
parameter could be used in a when
step.
Because when
statements are evaluated when the configuration is compiled prior to running, and environment variables are determined at runtime, the method I suggested won’t work as is.
However, you can get around this limitation by using pipeline parameters with dynamic config. I would also recommend the “Intro to Dynamic Config via Setup Workflows” Support Solution posted by one of my colleagues.