Using Reusable Flows in the Trainer

Common sequences of steps can be bundled into reusable flows, which can then be inserted into any journey. Flows are always up to date; any changes to the base flow will automatically be propagated to all journeys containing that flow. A journey can be composed with any number of primary (non-reusable) steps and reusable flows. You can also insert the same flow multiple times within a journey.

Define a Reusable Flow

To find the flow options, click on the menu icon.

Click the "Add Flows" button in the menu and select "start flow...".

When prompted enter a name for the flow and save. This generates a step marking the beginning of a new reusable flow.

Continue recording steps in the flow.

Go back into the menu by clicking on "More actions", click the "Add Flows" option and select "end flow" to close the flow.

Did you know?

You can open the mabl trainer in Chrome DevTools to more easily view your steps and important information for easier editing.

Insert a Reusable Flow

To insert an existing reusable flow click the "Add Flows" option in the menu and select "insert flow...". This option is disabled if there are no reusable flows defined in the workspace.

Select from a list of available flows and save.

The selected flow will appear in the list of Steps. A small badge icon in the "Start flow..." step indicates the number of journeys using this flow.

You can use the Replay controls to play through the flow steps. You can also add, delete, or edit steps in the flow. When the journey is saved, any changes to a reusable flow will be propagated to other journeys using this flow.

Flow Limitations

At present, nesting one flow inside another flow is not supported.

Remove a Reusable Flow

Click on the "Delete flow" button on a "Start flow..." step to delete the flow and all of its steps from the journey. The reusable flow will remain available in the workspace.

Convert Reusable Flow To Non-reusable Journey Steps

Delete the "Start flow..." step of a reusable flow converts all the flow steps into primary steps for the journey. This does not alter the existing reusable flow.

After deleting the step "Start flow 'Logout' ", steps within that flow are converted into primary steps.

After deleting the step "Start flow 'Logout' ", steps within that flow are converted into primary steps.

Convert Existing Journey Steps into a Reusable Flow

To convert a set of primary steps of a journey into a reusable flow, use the Replay controls to move the step cursor (the blue line) to just before the first flow step and insert a "start flow..." step there. Then play through the steps and insert an "end flow" at the end of the flow.

Using Reusable Flows in the Trainer


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.