drmibell / node-red-contrib-queue-gate

A Node-RED node for controlling message flow (with queueing).
Apache License 2.0
26 stars 16 forks source link

Feature request #24

Closed Just-another-pleb closed 2 years ago

Just-another-pleb commented 2 years ago

If would be nice if the controlling words could be set from context/env variables.

It is just I am working on something and I have most of the problems worked around with other external nodes but am stuck with how to set the default state, which in my case would be a lot easier if I could use env variables.

drmibell commented 2 years ago

Any of the "controlling words" can be set to an environmental variable by entering something of the form ${ENV_VAR}. Since the default state is defined by a select box rather than a text field, I don't see any simple way to make that selection using an environmental variable.

Just-another-pleb commented 2 years ago

Oh, sorry. Silly me.

Thanks.