Terminating Stored Workflows
Comments
-
Do we have the ability to terminate ALL Stored Workflows through the Flow steps? I want to create a Flow which performs the same action as the [b]End Flow/Clear Flow Data[/b] action on the Stored Workflows report.
-
[color=rgb(34, 34, 34)]This can be done by passing the flow_tracking_id of the Stored Workflow into the [b]CancelFlow [/b]step available through [b]Integration → Internal Services → FlowExecutionService.[/b][/color]
[color=rgb(34, 34, 34)]You can get the list of all Stored Workflows by integrating with the default view vwStoredWorkflows (Create Datatypes/Integration → Database Integration → Add View → Choose appropriate connection →Select vwStoredWorkflows), then passing the primary_flow_tracking_id of each one into the CancelFlow step using the [url=https://documentation.decisions.com/docs/processing-lists-of-items-with-the-foreach-step]ForEach [/url]step. This would clear out all the Stored Workflows on your Server. [/color]
[color=rgb(34, 34, 34)]Please refer attached Project.[/color]
[color=rgb(34, 34, 34)]
[/color]
[color=rgb(34, 34, 34)]
[/color]
[i]edited by kshitij@decisions.com on 7/3/2019[/i]
Howdy, Stranger!
Categories
- 4.4K All Categories
- 81 General
- 13 Training
- 209 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 711 Forms
- 346 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions