Auto Numbers in assignment_id field on Catalog Item.

Prithvirajk
Tera Contributor

Auto Numbers in assignment_id field on Catalog Item.

I have a requirement on Catalog Item, There is assignment_id field on catalog, I want to auto populate Serial number on that field like INC0001, whenever user opens this catalog item on portal.

Anyone knows any way how to do this with catalog item field ?

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Prithvirajk 

why it would auto populate with INC0001?

what's the purpose of that variable?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Screenshot 2025-06-17 130252.png 

I have requirement to add automatic numbering to assignment_ id field exactly like number field in Incident_number. Can you please help me with that.

@Prithvirajk 

what's the purpose of that? I didn't get the business requirement for that.

Could you explain it?

Usually what you are asking is done on field in table to track the records.

How will system know what number to increment?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

anshul_goyal
Kilo Sage

Hello @Prithvirajk,
Have you created any variable in your catalog item that references the Asset [alm_asset] table?
Thanks