- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Pausing and Resuming a Flow
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 6.4.0 |
Root Folder | Example Lab - Pausing and Resuming |
Modules | None |
Dependencies | None |
This Example Lab project demonstrates how to automatically save user progress while working on a Flow to reserve the ability to leave and come back and resume working without losing any previously entered data.
Explanation
This project works by self assigning each Form the user works on in the flow and keeps them open until the Form is complete. This way if the user exits the Form and ends the Flow before completion, the assignment remains in their inbox and any data entered in the previous Forms will be preserved and saved in the "PauseResume Data" Folder. Each time the user runs the Flow the data will be saved under a new folder which is given a random name that is generated in the first step of the "Main Flow".
To resume working on an unfinished task the user can either find the folder name in the "PauseResume Data" Folder and continue working from there or simply go to their inbox and continue working on the assigned task.
In order to save the data in this way after each Form there is a reusable Sub Flow that converts the flow structure to the Flow Execution Extension Data Structure.