In this lecture, I'm going to show you how to use the link in and link out notes with these two notes,
you can actually connect and exchange data between nodes that belong in different tabs or in different
flows.
And you didn't know how to do that using the global variables.
But this this is an alternative way of exchanging data between tabs.
And it's quite easy to set up an especially useful if you just want to share data point of point or
node to node.
So let's reuse a couple of existing flows here in the complete node.
And what I do is I will use a link out node and let's say connected to the third output of my test function.
So then I want to print out that message that is emitted by the third output of the test function.
I want to take it from here and then pass it on and print it in the catch node flow by message three
debug node.
So to make that work, I'm going to use link in at and I'm going to connect that to message three and
then go back to my original.
So link out and I want to link that.
To this catchword, so we just double click on it and the edit link, L.A. window pops up and it already
knows which link in notes are available in other flow.
So I can select that, of course.
And now you can see it graphically that the two have been connected.
And an a way to do it is to give it a name.
So I'm just going to call this in node test in node so that it's easier to see in the listing instead
of just the random note id not running, but the notoriety from using a name instead of the node ID
here.
Now deploy the flow and.
Just kind of turn off all of the outputs in this node and.
These puts in the target note, this is a target mode and I'm going to take printouts or show printouts
from all nodes regardless of the flow.
So let's trigger the injector node.
And you can see now that message three, which belongs to the catch no flow outputs, number three,
which came out of this output and through the link out mode into this link in node and then into the
message three debug node.
So a link in and link out or an alternative way for data to be shared among notes that belong to different
tabs.