Trigger a flow from other flow (instead of polling)

In Flow 1 I have a function which calculates stuff and then returns a msg with some content.

 msg.payload = 2;
 msg.text = "State 10 reached";
 return msg;

In the second flow I have a periodic trigger which checks the state of a variable every minute.
Now I want to trigger this second flow from the function body from flow 1. I tried of course to educate myself but got stuck.

Reason that I want it to trigger instead of polling is that flow 2 should start immediately after in flow 1 that condition is reached.

Hi, welcome to the forum.

Cant you just use a link-out (attached to the function that calculates) connected to a link-in node attached to the 2nd flow where you want to trigger something?

you can always add a filter node that checks the value has actually changed.

Perfect, exactly what was looking for! Thanks!

1 Like

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