Skip to content

Link Nodes

Link nodes allows you to create virtual connection between the flows which exists in any flow tab.

The "link" nodes and their respective functions are described in the following sections:

link-in-node

The "link in" node allows you to connect with other link out nodes which are connected with other flows.

link-out-node

The "link out" node allows you to send messages to all connected link in nodes or to send a response back to the link call node that triggers the flow. There are two types modes for "link out" node:

link-call-node

The "link call" node allows you to call a flow that starts with Link in node and sends a response.

The below given flows is an example for Link in, Link out and link call nodes are configured with each other to send messages to all connected link nodes and return the message through link call node based on the mode selected.

To execute the example flow using link nodes for sending messages to all connected link nodes, follow these steps:

  1. From the node palette, drag and drop the nodes from the respective palette to the working area. Connect the nodes in a flow as shown below:

    link-node-flow

  2. Double click on "link out" node to edit the properties and configure with "link in" node to send message.

    • Enter the "Name".
    • Select the "Mode" as "Send to all connected link nodes".
    • Click "Done".

    edit-link-out-node

  3. Double click on "link call" node to edit the properties and configure with "link in" node to send message.

    • Enter the "Name".
    • Enter the "Timeout" seconds.
    • Select the "Link Type" as "Fixed target".
    • Click "Done".

    edit-link-call-send-node

  4. Save and execute the flow.

You can view results in the message payload for sending messages to all connected link nodes.

Result for Link in and link out configuration flow:

link-out-result

Result for Link call and link in configuration flow:

link-call-result

To execute the example flow to return message from the calling link node, follow these steps:

  1. From the node palette, drag and drop the nodes from the respective palette to the working area. Connect the nodes in a flow as shown below:

    link-return-node-flow

  2. Double click on "link out" node to edit the properties and configure the mode to "Return to calling link node".

    • Enter the "Name".
    • Select the "Mode" as "Return to calling link node".
    • Click "Done".

      edit-link-out-return-node

  3. Save and execute the flow.

You can view both results in the message payload when you return the message to the calling node.

link-call-return-result


Last update: July 18, 2024