Subflow: Environment variable affecting all instances instead of one

The environment variable is global for all subflow instances. If you want to manage the variables with each subflow instance seperately/individually, use a flow variable instead. A flow variable should be local to each subflow instance.

See also: Flow variables in subflows