- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 08:16 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 09:50 AM
Hello,
In the script include named "AssetandCI" where the ci.name is set as asset.model.name
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 09:50 AM
Hello,
In the script include named "AssetandCI" where the ci.name is set as asset.model.name
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 10:57 PM
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?