This article shows you how to manage flow details in the mabl app, including how to…
- Change a flow's name
- Add flow labels
- Search for flow by label
- Restore a flow to a previous version
- Compare different versions of a flow
- Delete a flow
- Optimize flows in your workspace
How to change a flow's name
On the flow details page for the flow that you want to update, click on the pencil icon to open the update flow information modal.
Update the Description field and click Save.
Updating a flow's name
How to add flow labels
To add labels to a flow, go to the flow details page and click on the pencil icon.
In the update flow information modal, select from an existing label or create a new label. Click Save to add the new label.
How to search for flow by label
You can search for a flow by label in the app and in the Trainer.
In the app, click on the search icon in the top right corner. Enter the flow label and click on the Flows tab. The search panel renders a list of flows with a matching flow name or label.
In the Trainer, click on the plus sign to add a new step and select Flows. In the search input, use the following syntax to search flows by label: label:{label-name}
.
How to restore a flow to a previous version
On the flow details page, click on the History tab. Click on the version dropdown to view different flow versions and the user who saved each flow version.
When you identify the version you want to use, click on Save as latest to revert to the previous version.
Managing flow versions
How to compare different versions of a flow
On the flow details page, click on the Compare tab. Select the versions you want to compare from the Base version and Compare version dropdowns.
In addition to comparing flow steps, you can also compare each version's values for flow data-driven variables and flow parameters, if applicable.
Comparing flow versions
How to delete a flow
To delete a flow, go to the flows page: Tests > Flows. Click on the trash icon to delete a flow. You may only delete flows that are not used in any tests.
To see which tests use a particular flow, click on the information icon next to the number in the Test Count column.
Recovering deleted flows
If you delete a flow by accident, you can recover it within 30 days of deletion from the activity feed: Settings > Activity Feed.
How to optimize flows in your workspace
These habits can help you get the most out of flows:
- Agree on flow naming conventions with your team.
- Establish a process for reviewing flows on a regular basis.
By working on flows as a team, you'll reduce overall test maintenance and prevent team members from making several nearly identical flows to accomplish the same task. For more information on testing best practices, see the article on general best practices.