Is there a ServiceNow Unique Identifier (maybe system generated) for newly created configuration items (CIs)? If not, is it on a naming standard process to ensure uniqueness?

ejv
Giga Contributor

Is there a ServiceNow Unique Identifier (maybe system generated) for newly created configuration items (CIs)?  If not, is it on a naming standard process to ensure uniqueness?

1 ACCEPTED SOLUTION

Rahul Priyadars
Giga Sage
Giga Sage

Hi ,

Here is my 1 cent response on your queries.

Is there a ServiceNow Unique Identifier (maybe system generated) for newly created configuration items (CIs)?  --> Yes Service Now Generates an Unique ID for every record saved in CI Table which is Called SYS_ID.

Example :- here value is 27e3a47cc0a8000b001d28ab291fa65b for given below server.

find_real_file.png

 

 

If not, is it on a naming standard process to ensure uniqueness? - Yes Its better to follow a naming convention while server Build like DC name/Location Name+ServerFlavour+App Name+Env etc  just a thought on naming.

Many organisation follow this for easy identification like - CALWIN-SharePoint-Dev01 (California DC, Windows Server,Share Point App and Its for Dev)

 
 
 
You can also add a custom field at CMDB_CI class - your custom reference sequence no as per your needs. here is how to populate it.
 
Regards
RP
 

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

You have both sys_id and UUID. If you ask about the naming of the CIs, its comprised of model, number, etc. 

 https://community.servicenow.com/community?id=community_question&sys_id=6dca4fa0db9c1090f7fca851ca96...

Cheers,

Joro

David Sorf
Giga Contributor

Hello ejv,

as I understand your question you probably need to have CI with unique number in readable format and that GUID is not used for that. Another possibility is to use Auto numbering records where you can define Numbering prefix per Class/Table:

https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/field-administrat...

As you can read on above page you can add scripted default value "javascript:getNextObjNumberPadded();" which is incremental value as configured. You can add this script to default value of any existing or new column. It will be probably good idea to create one generic number column on cmdb_ci table for all CI's as you described. Then you can define prefix for base table or prefix for each childe table within CMDB tables hierarchy.

Regards,

David

Rahul Priyadars
Giga Sage
Giga Sage

Hi ,

Here is my 1 cent response on your queries.

Is there a ServiceNow Unique Identifier (maybe system generated) for newly created configuration items (CIs)?  --> Yes Service Now Generates an Unique ID for every record saved in CI Table which is Called SYS_ID.

Example :- here value is 27e3a47cc0a8000b001d28ab291fa65b for given below server.

find_real_file.png

 

 

If not, is it on a naming standard process to ensure uniqueness? - Yes Its better to follow a naming convention while server Build like DC name/Location Name+ServerFlavour+App Name+Env etc  just a thought on naming.

Many organisation follow this for easy identification like - CALWIN-SharePoint-Dev01 (California DC, Windows Server,Share Point App and Its for Dev)

 
 
 
You can also add a custom field at CMDB_CI class - your custom reference sequence no as per your needs. here is how to populate it.
 
Regards
RP