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
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 111 Rules
- 276 Administration
- 214 Portal
- 498 General Q & A
- 718 Forms
- 351 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 188 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 70 Repository
- 231 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions