Generate codes for Tables.

kpanchal
Tera Contributor

Hello All,

I want to generate codes with all possible combinations of AA999. i.e If a user's name is Kathy Joe, 

The code should be generated as KJ980. I want to generate data to be filled in with Tables using background scripts. How can I achieve it.

 

PS: Code = First Name initial + Last Name initial + Combination of 3 numbers.

 

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
Tera Patron

HI @kpanchal 

 

Combination of 3 numbers is this static or dyaamic?

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

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

Dynamic

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi @kpanchal 
Combination of 3 numbers you need sequential or random?
Like first user = Saurabh Gupta = SG001, Second User: Chuck Tomasi: CT002 and so on?

 


Thanks and Regards,

Saurabh Gupta

Yes