Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ServiceNow Form Numbering

Rae Khan
Tera Contributor

Hi all, 

 

I noticed that the numbers for saved forms weren't in sequence. 

I understand the numbers aren't saved in sequence because a new number is created when someone clicks a new form, however, if the user discards the form, that number wont be generated again. 

 

Ex: If a user clicks on a form, 10000 is created, but if they dont save that form, 10001 will be generated next. 

What do I modify to ensure 10000 will be generated next if the previous user didnt save that form? 

 

2 ACCEPTED SOLUTIONS

jMarshal
Mega Sage

This is not a feature. The only thing that you can do to "ensure" sequential numbering with no gaps is to enforce that records are saved immediately upon opening -  thus, they cannot be abandoned and need action to "close" or "cancel" the record, to make it inactive.

 

...what is your use case for this? what is the business objective? --- perhaps you don't really need this and there's another way to accomplish the same business objective.

View solution in original post

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Rae Khan 

 

This is not OOTB and i think lets not change this as it is by design and need a core level changes.  I echo with @jMarshal  what's your use case. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

2 REPLIES 2

jMarshal
Mega Sage

This is not a feature. The only thing that you can do to "ensure" sequential numbering with no gaps is to enforce that records are saved immediately upon opening -  thus, they cannot be abandoned and need action to "close" or "cancel" the record, to make it inactive.

 

...what is your use case for this? what is the business objective? --- perhaps you don't really need this and there's another way to accomplish the same business objective.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Rae Khan 

 

This is not OOTB and i think lets not change this as it is by design and need a core level changes.  I echo with @jMarshal  what's your use case. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************