How to change the display name of CI & to be same as Asset

saranyavs
Tera Expert

Hi Team,

 

We have a requirement in CI table. Currently when an asset record is created in the alm_hardware table it creates a CI having the name of the model given to the asset record. We would like the CI name to be changed to Display name of Asset (Asset tag+ Model) to make the CI unique. 

How to change the CI name? Is there any impact if we changing the name from OOB script?

Please help to resolve this issue

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

In the script include named "AssetandCI" where the ci.name is set as asset.model.name

 

Saurav11_0-1666888944702.png

 

Just change the script accordingly to which field you want to add. It it is display name it would be asset.display_name

 

Now coming to impact like changing any OOB script any future update on that script would be skipped but you can revert to the future update of you think ServiceNow has introduced something very important in the script. 

 

Please mark my answer as correct based on Impact.

 

View solution in original post

2 REPLIES 2

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

In the script include named "AssetandCI" where the ci.name is set as asset.model.name

 

Saurav11_0-1666888944702.png

 

Just change the script accordingly to which field you want to add. It it is display name it would be asset.display_name

 

Now coming to impact like changing any OOB script any future update on that script would be skipped but you can revert to the future update of you think ServiceNow has introduced something very important in the script. 

 

Please mark my answer as correct based on Impact.

 

Community Alums
Not applicable

Hi @Saurav11 

 

I have also same requirement we have equipment type OLT , when user creates instance of olt using change request or via api name is setting as equipment clli+product model not sure where it's coming from.

 

I need to make equipment name as unique as how to make it where to implement?