Auto Increment Numerical Value in Catalog Item Variable "Project number"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 04:59 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 06:51 AM
Hello prasad!
Check this article: https://docs.servicenow.com/bundle/rome-platform-administration/page/administer/field-administration...
Thanks,
Alessandro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 07:49 AM
Hi
I have create auto number in catalog variable not in table fields
Please help on this
Thanks,
Prasad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 08:01 AM
Hello,
You can give javascript:getNextObjNumber(); in default value of variable for auto numbering in service catalog form .
Please mark answer correct/helpful based on impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 08:10 AM
Hi,
Actually we don't have any OOTB way for the catalog variables.
You can build a custom solution like i explained below:
1. Create a system property "add_auto_inc"
Type = Integer
Value = 10001 or what ever you want to give in Integer.
2. Create a onSubmit catalog client script and in that script call a script include Where you will be updating the system property value by +1
Ex: 10001 + 1 which is 10002
3. In you project ID variable run a javascript in the default value:
javascript: 'PRJ'+gs.getProperty('add_auto_inc');
This way you can achieve your requirement.
If my logic helps you then please mark my answer correct.
Thanks,
Ankur