Bulk CI import through excel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 05:02 AM
Hi folks,
I've a requirement to load CI's with different classes.
I'm passing Class label (windows server, Application service etc..,) in excel, after import i've noticed class is being set as 'configuration Item' . I know that we should pass class name(cmdb_ci_win_server), as i've many classess and it's not possible to create field map script or use GlideRecord to retreive backend name.
Is there any otherway to import CI's using Class label ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 05:07 AM
This can be done by creating a field map script or use GlideRecord to retrieve the backend name. Why can't you use that?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 10:47 PM
we've different classes, I can't hard code everything, and glidding CMDB_CI table it takes a lot of response time.
is there any otherway to acheive this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 12:17 AM
It's either doing it once in ServiceNow so you can reuse it in the future, or do make the changes in the excel and you need to do that every time, like Sohail already mentioned. There are no shortcuts here.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 05:22 AM - edited 03-27-2024 05:23 AM
in short, Use gliderecord to query the class lables thats the easy way to go,.. or do excel manual work and then load them...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....