Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Generate automatically unique number for a field in a custom table

Shalika
Tera Expert

I have a custom field where I have a field called 'number'. Now each time a new record is created in that field I want that the number field is automatically generated each time as N01, N02 and so on. And each time the number generated should be unique.

How can I do this.

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @Shalika 

 

Use Number maintenance

 

LearnNGrowAtul_0-1704367585074.png

 

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

View solution in original post

1 REPLY 1

Dr Atul G- LNG
Tera Patron

Hi @Shalika 

 

Use Number maintenance

 

LearnNGrowAtul_0-1704367585074.png

 

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