Canceling a Running Flow With Another Flow
  • 16 Dec 2021
  • 1 Minute to read
  • Dark
    Light

Canceling a Running Flow With Another 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.19.0.70811
Root FolderKillFlows
Modules None
DependenciesNone

The following Example Lab demonstrates how to stop an in process Flow using a different Flow. 


Explanation

The following Example Lab demonstrates how to use the Cancel Flow step to stop a separately running Flow, and then record a Log of the action. After Importing the Project File below, run "Running Flow"; this Flow establishes a Process Folder using the Setup Process Folder step, before running into the Save Process Data step. After establishing the Process Data, the Flow is paused by the Pause Flow step. Though the Pause Flow pauses the "Running Flow", it is still technically in progress. With the Flow still running, open the "Kill Flow" and input the FlowTrackingId of the Running Flow into Cancel Flow's Input. Run the "Kill Flow", by inputting the FlowTrackingId of the Running Flow into the Cancel Flow step, the the completion of the Running Flow is ceased. 

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.10.2 or later using our Importing/Exporting article.





Was this article helpful?