- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 10:15 PM
We are creating ESX servers so we load data into cmdb_ci_esx_server class which in turn creates corresponding CI and the asset. The same applies to the Server class (cmdb_ci_server) and other CI classes. Though this approach is desirable and less error-prone, but it requires us to create transform maps of each class separately.
So I want to be able to upload these asset using one transform map but it creating the assets on the windows server table or linux server table or computer peripheral table
Please guide and let me know how we can automate it and avoid creating many transform maps ?
Regards
Siddhesh
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 11:35 PM
Hello Siddhesh
One way I can think of to create field map of "Class" field (sys_class_name) where you can define the backend table name of each class, e.g: 'cmdb_ci_esx_server' or 'cmdb_ci_server' and this should present in your source file (csv or excel).
Using above approach you can build your transform on "cmdb_ci" table instead of individual class tables.
Hope it helps!!
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:01 AM
Hi Siddhesh,
You can create a separate transform map for Product model, That way you can create a separate coalesce field on Product model table to avoid duplicates.
I remember in one of the implementation, we have a separate transform map for the Product model table and later we link the existing product model record with the hardware record.
Hope it helps!!
Thanks for marking my response as correct.
Regards
Sulabh Garg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 11:33 PM
Hello
Thank you for reply
there is a one transform map for cmdb_hardware_product_model were in field mapping we coalesce model no. so when we transform same model with different configuration item we wanted to add this different CIs to get added in same product model. But beacause of coalesce they were getting updated(that mean latest Ci replaced to previous Ci). is there any way I can add all CIs which are related to same product model in Configuration item section?
Thank you!!!
Regards Siddhesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 12:12 AM
Just a thought, you can also perform coalesce on multiple fields too (model no and CI), That way it will check the combination of two field to be unique instead of one (model no).
Regards
Sulabh Garg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 12:28 AM
I wanted to add all Cis which are having same model no. under one product model.
As you suggested if I put multiple coalesce for (model no and CI) then it creates new record for diffrent Cis which are having same model no. that not how I wanted.
Thank you!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 02:52 AM
Hello
We have created a product model manually and now we use sys_id of the same product model. But the same model id with a different sys_id has been created under the Product Model. It shouldn’t have created a new model since we used the existing model ID.
when we use a unique serial number it will not create duplicate product models.
So I have a question does the serial number should be Unique every time?
Regards,
Siddhesh