Reclassification of CI

Lohith
Giga Expert

Hi Team,

I have a requirement to reclassify CI. The issue am facing here is like, when ever i update the class manually or through script and if the records fails to get migrated to other class than the current record will be lost, not able to find in any table.

For ex: I want to change class from Server to Hardware.

I opened one Server class record and changed the class to Hardware, but record failed to insert in Hardware due to some mandatory fields present in data policy of Hardware table, in this scenario the record will be lost, am not able to find the record anywhere in any table,m not in server, hardware, cmdb_ci table.......

Any help will be appreciated.

Thanks,

Lohith

4 REPLIES 4

v_austin
Kilo Contributor

hi Lohith, Can you share the script used to reclassify the CI. I have come across CI lost case, when the sys class value provided for update was invalid. Otherwise i was able to successfully reclassify the CI.



Thanks.


Hi,



When you said that, you have come across of CI lost case, in these scenario were you able to locate the lost CI, were you able to get back that lost CI ?



Thanks,


Lohith


v_austin
Kilo Contributor

Were you able to find them in the deleted records table?


I got it from the deleted records table.


Hi,


No, am not able to find record in deleted records table.



Thanks,


Lohith