Are subflow environment variables global or local to the subflow?

If I use environment vars as subflow parameters, are the env vars global to the instance or just the subflow (or are they even global global!)

image

They available only to the instance.

In other words, each instance of a subflow gets their own version/own value.

1 Like

Well that's what I want so I can use nice names instead of unique ones :slight_smile:
But while I'm here - why are they called environment variables.

I'm a Windows person and I thought environment vars were global across all Windows programs

why are they called environment variables

Because we started with allowing flows to read globally set environment variables in the traditional sense.

We then thought it would be useful to set them 'locally' with a subflow... and then in a flow... and then in a group.. and here we are.

A key point was they are read-only values that are statically set and cannot be modified by the flow. So rather than introduce yet another term for them, it just made sense to carry through the env-var terminology.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.