Default pipeline parameter value not working as expected

Hey everyone! I want to ask for help with the pipeline configuration I am working on.

I’m working on a pipeline that triggers automation tests. In this project/pipeline, we would like to have two different contexts, one for the production credentials/data and another for staging credentials/data. So, apart from choosing the target environment when triggering the pipeline, we want/need to decide which context to use.

So here is the implementation we thought about:


This work well when triggering the pipeline in the following way:

But it doesn’t recognize the workflow context when triggering the following way (using default values):

I would appreciate it if anyone could shed some light on it. I appreciate any help/suggestion you can provide.