fatoldsun00 / node-red-contrib-watchdirectory

Watch directory for create, update, delete event
9 stars 6 forks source link

Set watched folder via an expression #2

Closed evdheuvel70 closed 2 years ago

evdheuvel70 commented 3 years ago

I'm deploying my flows on multiple NR instances. I have a startup (inject) flow that prepares global properties on deploying the flow. As flow developer I want to set the Watched directory based on an Expression and/or from a global property so that I do not need to each change node-red-contrib-watchdirectory node manually on each instance.

For example: $globalContext('workspace') & '\in'

lost-bits commented 3 years ago

Maybe the better way would be having a ingest node setting the parameters? (like the original watch)