Teneo Developers

Share to

Flow Link

It is possible to combine processes that were implemented in a different Flow by adding a Flow Link to another Flow or Sub-flow; this way a certain main Flow can link to other Flows where some other tasks need to be performed or when some extra information is required.

Linking to a regular Flow (a Flow with a User Intent or Prompt Trigger) implies that the parent Flow executes until the Flow Link is reached, then the parent Flow is dropped and execution control is passed on to the linked child Flow; it is possible to use variables to pass information to the child Flow, but not back to the parent Flow.
Linking to a Sub-flow implies that the active parent Flow will still be the active Flow after the execution of the Sub-flow has finished; in this case it is possible to use variables to pass information to the child Flow and also back to the parent Flow.

With the Flow open, add a Flow link node by following the below steps:

  • Click the Plus icon and, depending on the icon's location in the Flow graph and the desired behavior, select one of the following options:
    • Continue With > a Flow Link to pass the dialogue to another flow
    • Split Path > to a Flow Link to pass the dialogue to another flow
  • Alternatively, select the node in the Flow editor after which the new node should be added and click the Flow button in the Add Node section of the top ribbon
  • The Flow Link panel opens in the right side of the Flow window, add a Name and, optionally, a Description
  • Click Browse to browse to the location of the Flow to link to
  • Select the wanted Flow and click OK
  • If Flow Variables are declared in the main Flow:
    • Select the variables values to pass To the target Flow, and
    • the variables values to receive From the target Flow
  • Remember to Save the Flow to preserve the changes.

With the Flow open, follow the below steps to edit the Flow Link:

  • In the Flow editor, select the Flow Link node to open the Flow Link panel in the right side of the Flow window
  • Click Add name to give the Flow Link node a name
  • Optionally, Add description
  • Under Target, click Browse to browse to the location of the target Flow
  • Select the wanted Flow and click OK
  • If a Flow Link already exists, click Delete Link to remove the target Flow or Open to see the target Flow
  • If Flow Variables are declared in the main Flow:
    • Select the variables values to pass To the target Flow, and
    • the variables values to receive From the target Flow (if the target Flow is a Sub-flow)
  • Optionally, Add metadata definitions to the Flow Link node
  • Remember to Save the Flow to preserve the changes.

In the open Flow, follow the below steps to delete a Flow Link node:

  • Select the Flow Link node in the Flow editor
  • In the top ribbon, click Delete
  • Remember to Save the Flow to preserve the changes.