Changing Link Out Destination at Run Time

I am wondering if there is a way to change the out link (or property Links) at runtime. I attempted to set the 'Link' property to a specific Node ID in the Flow I want to trigger (as a test). Does this have to be a Jason object instead of a direct value?

The reason is that while I could create a function that could go to different outputs and hence Link out objects, it would be hard coded. So the goal is to enable a flow to be called at run time...if that flow has a link in object to sink the call to.

Thx for any input or direction


Not currently, but it is a feature coming in Node-RED 3.0 in the next month or so.

Very cool...thanks. For function with multiple outputs will work. Adding that will create a powerful dynamic ability...thanks again

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