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.

How to update number id for accounts which didnot have number id?

Deepika61
Tera Contributor

Hi All,

Actually I have requirement that basically on the account form previously we donot have "Bill id " field, so now it is created with auto increment , so now i want to update all existing accounts which donot have that bill id  need to update with number 

 

Deepika61_0-1708608137540.png

Please help me to achieve this

 

Thanks

Deepika

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Deepika61 

 

We cant update the existing Bill id , as it is auto generated. what you can do, by script, add the format/ number manually. This is only workaround, try in dev first.

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

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

@Dr Atul G- LNG 

Thanks for the response

Actually i donot want update with existing billing id, in the screenshot i have showed the format for newly created accounts , so now with that format i need a script to update all existing account records which are not having the "Bill Id"?

 

please provide me the script for that 

 

Thanks

Deepika

Hi @Deepika61 

 

I am not coder 😞

 

if count is less, what i can suggest

 

Go to List view

get Biil ID as editable ( for this activity only, try to do in NON Business hours)

Double click on field, and add the value manually, but now i m worried, if it duplicate may be later on some time then what will happen

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

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