I need to create 100 Computer CI from Excel upload via data source,but ci class is cmdb_ci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-19-2024 02:47 AM
I have created a data source to create 100 hardware records, It is uploading all the fields correctly in the alm_hardware table except Configuration Item.
All 100 computers model category is "Computer" when i create new hardware records via data source it is creating normal CI(cmdb_ci) instead of (cmdb_ci_computer). what is problem here? Problem in model category configuration or problem is in AssetandCI script includes.
Kindly shoot your comments.
Thanks
- Labels:
-
Service Graph Connector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-19-2024 03:12 AM
Hi @Prince Sai
I am not 100% sure, but my knowledge say, first create the CI.
means, those 100 records first come in SN and create records in computer table and from there the Asset will create via BR and scripts.
Have a look on these video.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-19-2024 12:23 PM
Try the following steps. It should most probably help to avoid this issue:
1. Verify that the model category of Computer has 'CI class' as cmdb_ci_computer and 'Asset class' as alm_hardware. Also verify that 'Enforce CI verification' field is NOT checked.
2. List down the model names of the devices which you are planning to upload. Go to hardware models table and open these model records. Validate that 'Asset tracking strategy' field is set to the value 'Leave to category'.
3. If any of these models are not present already in the hardware models table, create those.
4. Now load the data into the cmdb_ci_computer table instead of alm_hardware table. Use integration hub etl for loading so that the CI identification rules are considered. Make sure that the data in important fields like Serial Number, Name, Model category, Manufacturer, Model etc. are entered correctly without any spelling mistakes in your data upload file. The creation of these CIs should ideally create assets in alm_hardware table if all the points mentioned above are taken care of.