How do I reset counters for process and case folder prefixes?
I used to be able to reset counters for process folders prefixes by going to System > System Data > ID Generation, but I don't see the option there anymore. Has this changed?
Comments
-
In Decisions versions 6.19 onward, ID generation counters use SQL sequences, and these are now managed through SQL queries instead of the GUI.
You can use the below SQL queries for resetting these counters. (You'll need to restart the server to see these changes.)
Please note that it's important to backup your Decisions database before modifying it with SQL queries:
(Database backup documentation: https://documentation.decisions.com/docs/backup-of-decisions-database-and-file-system)
This query will return all sequences with their prefixes and status information:
SELECT *
FROM sys.sequences
To reset a specific sequence to 1, run the below query, replacing 'Prefix' with the prefix of the counter you'd like to reset:
ALTER SEQUENCE Prefix_sequence
RESTART WITH 1
To run these queries, right click on a designer folder, go to 'Other', and select the 'Query Editor'.
(Query Editor documentation: https://documentation.decisions.com/docs/query-editor)
Howdy, Stranger!
Categories
- 4.4K All Categories
- 78 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions