Pausing and Resuming a Flow
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Pausing and Resuming a Flow

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.4.0
Root FolderExample Lab - Pausing and Resuming
Modules None
DependenciesNone

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. 

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.4.0 or later using our Importing/Exporting article.





Was this article helpful?