unable to alter env variable
Bug #1782305 reported by
Kushal Agrawal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Hi, I have a requirement where a key already exists in env and I wants to update the value of it during workflow execution. But currently, it is not supported in Mistral.
Changed in mistral: | |
milestone: | rocky-3 → stein-1 |
Changed in mistral: | |
milestone: | stein-1 → none |
To post a comment you must log in.
It seems like we could solve this requirement by adding a new YAQL function.
Something like this:
<% environment_ update( dict) %>
We might prefer a way to update just a single key...
<% environment_ update( key, value) %>
The implementation should be easy, so I added the low-hanging-fruit tag. The hardest part here is probably coming up with a sensible API for the YAQL function.