Search code examples
node-red

Flows stop when changing project


I use node-red to read data from different sources and afterwards write it to a database. In order to get data in a regular time interval, e.g. every minute, I use the cronplus node. Both works very fine so far.

However, now I started to organize my flows in different projects within the node-red user interface (see picture) - and I realized that data is written to the DB only of the flows of the project that was most recently loaded. That is to say that if I open a new project, all flows of the previous project are stopped (and thus no data arrives in the DB), and the flows of the newly open project are started immediately.

Is there a way that the flows are constantly working in several projects at the same time?


Solution

  • No. The runtime only runs one project at a time. You need to organise your flows inside a single project.