Hi,
Within an unmanaged solution I'm trying to update my environment variable from its default to its current value but it does not seem to be working consistently.
I have two flows in my dev environment which are reading the default value properly. I then export this as an unmanaged solution into prod (I don't export as managed for the reasons explained in another post of mine). In prod, I update the environment variable with a current value. I believe the first time this happened, the variables were updated well. However, I went back to dev to make some modifications and re-imported it into prod. In prod, both the default and current value still appears. However, when I ran my flows, they were still grabbing the default value and ignore the current value.
In order to hopefully make the platform realize that I want the current value, I tried a dumb trick of cutting the current value and re-pasting it exactly back into the current value field. This causes the Save button to become enabled, letting me click on it and resulting in the spinner saying 'Updating variable'. Then I ran my two flows again and the first one now seems to be grabbing the current value. However, the second one is still reading the default value.
In other words, it seems that even if a solution already contains a current value, if you re-import it, it is actually going to grab the default. You need to re-save for the prod environment to see the current value. However, this only seems to work for one of the flows in this solution, but not the other.
Either I'm not doing something right or there is a bug here.
Thanks