yaade icon indicating copy to clipboard operation
yaade copied to clipboard

Setting env variable in particular collection

Open rishitai opened this issue 10 months ago • 2 comments

I have the collections as:

Parent_collection |--- Child1_collection | |--- Request1 | |--- Request2 |--- Child2_collection

When I try to set the environment with env.set() in response scripts, It only sets the value in closest parent collection or sub-collection.

For example: When I try to set the variable in Request1 or Request2. Though having the environment variable in Parent_Collection, It sets in the environments of Child1_collection, But I want to set the variable in Parent_collection.

How can I do so?

rishitai avatar Feb 27 '25 06:02 rishitai

This is not implemented right now, but it's a good idea to do so. I will add this to the list

jonrosner avatar Feb 27 '25 09:02 jonrosner

Thank you.

Can you please help me on how can I set global environments?

I am asking this because the environments are bound to collection and sub-collection. Is there any way I can create global environments and use their variables.

rishitai avatar Feb 27 '25 09:02 rishitai