Stored Workflow Deletion
Comments
-
[font=Calibri, sans-serif]Is there a way to clear out Stored Workflows for processes we know are no longer used? For example, we cleared out a ton of test process folders in dev for process “5z-PD ROT Flow”. The process folders have all been deleted, but the stored workflows have persisted.[/font]
-
[font=Roboto]To clear them entirely from your Decisions installation, execute the following steps:[/font]
[ul][li]Open the query editor from any designer folder > Other > Query Editor and run these commands:[ul][li]update flow_state_storage_data set deleted = 1, deleted_by = [url=mailto:admin@decisions.com]admin@decisions.com[/url] where primary_flow_name = myTestFlow[/li][li]delete from flow_data_delta_storage where primary_flow_tracking_id in (select current_tracking_id from flow_state_storage_data where deleted = 1 and primary_flow_name = myTestFlow)[/li][li]update entity_assignment set deleted = 1, deleted_by = [url=mailto:admin@decisions.com]admin@decisions.com[/url] where flow_tracking_id in (select current_tracking_id from flow_state_storage_data where deleted = 1 and primary_flow_name = myTestFlow)[/li][/ul][/li][li]Restart Service Host Manager in Windows Services OR navigate to the System folder, open its context menu, and select Restart Instance[/li][/ul]
[font=Roboto][color=rgb(20, 20, 20)]
[/color][/font]
[font=Roboto][color=rgb(20, 20, 20)]myTestFlow should be swapped with the name of the flow which you are trying to remove instances of (in your case 5z-PD ROT Flow)[/color][/font]
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