Which tool versions are you using?
SDK: 14.5.0
Platform: v23.11.5
Python: v3.10
Isolation mode: venv
Current Behavior
We have code that run based on the value of a Environment Variable.
It create a page if the variable is a certain value
app_id = os.environ.get(“APP_ID”)
if app_id == ‘BW6’:
page_bw6 = Page(‘BW6 Page’, views=[‘get_web_view’])
When updating the variable on the app page (on Viktor platform), the change doesn’t reflect on the app.
Expected Behavior
As soon as the Environment Variable is updated, the app should take in concideration its new value.
Context (optional, but preferred)
The App behave as expected on the Development Workspace using the command:
viktor-cli start -e APP_ID=“BW6”
or
viktor-cli start -e APP_ID=“NA”