Global and Flow variables inside filename

Hi all,
is there a way to insert a global or flow variable concatenated to a string in this field?
the watch node does not have an input from which to send the filename

The screenshot is perhaps more explicative

No. The watch node is initialised to monitor the file(s) at instantiation and therefore uses a fixed value. for example, if this were possible, it would not know that a global has changed & would not know to start watching another directory.

You have 2 relatively simple options...

  1. Use an ENV VAR e.g. ${WATCH_FOLDER}
  2. DIY this using a function node and import a watch lib from NPM.

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