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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions