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.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