Sorry folks, my brain is on holidays again.
What are the two things I'm pointing at?
And, I'm wanting to set a value (WaitTime) in the subflow, and have it parsed by a node.
This is what I can scrape from previous askings of what/how to do it.
But that fails.
I have it set to 1
(1 minute) and it fails after 16 seconds.
When I click on the second button, I get an environment
list, but none are set.
Which is what I thought I did in the edit subflow details
part.
But that is appearing in the properties
tab instead.
Yes, I'm confused.
Please.
Someone.
$globalget
gets values from global context. It has nothing to do with env vars at all.
If you want to use the env var named WaitTime
then set msg.delay to value of $.WaitTime then do the multiplication on the next line in the change node.
Your arrows have no heads.
Yeah, as I said: the brain is on holiday. 
I think I have worked out the problem, but.... there's another one behind the answer.
Trying to not make too much of a mess of this thread:
Can you explain the difference between those two tabs? The cog and the menu icons.
What is what? And how do I use their entries in the subflow?
I get the idea I can set values (variables) used in the subflow and I define their values in the subflow's node.
Global, flow, I get. Sorry.
I seem to be missing something here.
Hope you can help.
Thanks.
Items under the cog are what you pre-defined in the subflow template
Items under the env var list are freeform.
They are both accessed inside the subflow using either $.name
or env.get('name')
1 Like
Indulge my stupidity,
Ok, the cog ones are FIXED.... const
- if you will.
the others...... That does me.
(to digress back to the original problem)
I was trying the J:
trick I was shown for change
nodes - and the like.
J:
ARGH..... brain failure. - again!.
I got the value needed and did the maths in the next (function) node.
So back at the user end of things, I double click on the subflow
and I get the two options for FIXED and variable .... variables.
Clicking on the cog - keeping it for this subflow - I get my WaitTime
field.
But then if I click on the second one I get a blank screen titled environment variables......
Where does this fit in to the subflow's world?
Again: Sorry. It is not fun having a brain that when you ask it a question, one time you get a reply with useful stuff. The next time - same question - you get back either a blank or rubbish.
Thanks.
I worked that bit out and cheated by doing some of it in the next function
node.
Where I'm now kinda stuck is what this second tab is on the subflow
which shows/lists variables for the subflow.
So I'm at the top level of the editor. So where/how do these variables come into working with the subflow's code?
As opposed to the ones defined in the cog
tab. (Which I do understand.) (or I hope I do)

What's the environment variable
one for?