Overwrite Environment Variable from custom env vars

I have defined an environment variable in my workflow and it works great, but I need to be able overwrite it from the Custom Environment Variable when I trigger the workflow manually at some point.

The only way I’ve been able to use the value from Custom Environment Variable is when I don’t have the Environment Variable defined in the workflow settings, otherwise it’ll always use the one saved in workflow settings instead of the custom one.

Any idea on how to do this? Is this a bug?

Hi! This is by design, and here’s a thread on how you can override environment variables (should work the same way if you do it from the UI): How to override environment variables through the Build Trigger API.

I realize this may be confusing, so I’ll submit your feedback internally. Let me know if you still need help!