When you have an application in which you have made several User flows, you may want to connect one User flow to another. For example, if you have a User flow that allows users to edit a project, you may want to link to that editing functionality from another User flow. This prevents you having to build the same logic twice.
Linking to another User flow
-
Open the User flow to link from to another User flow.
-
Go into Add mode by pressing the Add button.
-
A new, empty User flow will be created and opened.
-
Select the Page to link from:
-
Click the green Add button and name the Button that will be added, in our case Edit task:
-
We want the Button to apply to a selected Task on the Page:
-
Select No additional rule applies.
-
Sort your Buttons any way you like if you have multiple Buttons.
-
In this step select Connect to an existing page, decision or flow part in another user flow:
-
Now select which User flow you want to navigate to. In our case, this is All tasks:
-
Then, select which Page, Decision or Flow part in the User flow you want to navigate to:
-
We select Edit task as we want the user to edit the Task they have selected in the My tasks User flow.
-
Triggre now checks the other User flow to see which values are available on the item you linked to. You can supply a value from the current User flow to each of these. This way, you can transfer data from the current User flow, to the one you link to:
-
In general, the further the item you link to is in your User flow, the more values you will have to supply. In our case, it is just the Selected Task on Table as that is the value that the edit Page uses to edit.
-
Click the value to supply, and then select a value for it from the current User flow:
-
Since our My tasks User flow also has an Overview page with a table of Tasks, we choose to select the selected Taskon that Page.
-
You now have a link to another User flow, which is shown as a dashed link:
Note that you can only link to other User flows after a Page, by using a Button. You cannot link to another User flow after a Flow part or after a Decision.