Functionality of 'Get Next ID Fill With Pad Char' Step
I am using 'Get Next ID Fill With Pad Char' step in my flow and the current setup for the length is 2. For example my data is already at 99. Will the next ID reset to 00? Below is the screenshot of the current setup.
Also, can we reset the numbering to go back to 00? For example we want to reset the number each month.
Comments
-
Hi,
The IDs should continue past 99 without any problems. (The number will be three digits long instead of 2) If you would still like to reset the number each month, you are required to use an SQL query to do so:
ALTER SEQUENCE <Prefix_sequence>
RESTART WITH <Number to reset to>
For example, if the prefix is "ID", and you're trying to reset the IDs to 0, the query would be:
ALTER SEQUENCE ID_sequence
RESTART WITH 0
You can run this query as a scheduled job every month using the Raw SQL Step.
Let me know if you have any other questions.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions