Asset and CI sync functionality in Asset Management

Sunny45
Kilo Guru

Hello 

I have noticed below which is OOB. Not sure if this is normal behavior? 

1) When Asset side state changes to In Maintenance, CI side changes as well to In Maintenance  : Good

2) When Asset side state changes back to In Use, CI side changes as well to Installed : Good 

3) When CI side changes to In Maintenance, Asset side doesn't change  : Bad

4) When CI side changes back to Installed, Asset side doesn't change state : Bad

I am seeing that there is record for In Maintenance sync is in both direction in Asset CI State mapping table.(snap below) 

As per this all 4 scenario should work, but only 1, and 2 are working and 3, 4 are not. 

Please advise or am I missing something?. Do I need to make some changes?

Thanks

 

find_real_file.png

.

1 ACCEPTED SOLUTION

One good thing is that the Hardware Asset (alm_hardware) table inherits the State values from Asset (alm_asset). So, you just need to add the Unknown value once for Asset. 

I think these would be the right steps:

  1. Create the "Unknown" value in the choice list for Asset > State
    1. Label: Unknown
    2. Value: [your choice, but it should be an available number, like 0 or 12 or 13]
  2. Create the "Unknown" value in the choice list for Configuration Item > Status (install_status)
    1. Label: Unknown
    2. Value: Use the same one as before
  3. Create the "Unknown" value in the choice list for Hardware (cmdb_ci_hardware) > Hardware Status (hardware_status)
  4. Create an Asset-CI Install Status Mapping record that maps the State field on the Asset to the Status field on the CI. Set it to go both ways.
  5. Create an Asset-CI Hardware Status record that maps the State field on the Asset to the Hardware Status Mapping field on the CI. Set it to go both ways. 

View solution in original post

9 REPLIES 9

Tim Deniston
Mega Sage
Mega Sage

Can you post screenshots of the CIs and Assets that don't have their values changed? There is a Hardware Status field on the cmdb_ci_hardware table that you might be looking at. That has a separate list of Asset-CI Hardware Status sync rules (Asset > Administration > Asset-CI Hardware Status Mapping). Those rules should be mostly the same, but there may be some differences. 

Hello Tim,

Thanks for your response. Here are the details. 

CI side changed the Car-1 install status. 

find_real_file.png

 

 

But on Asset side it doesn't change. (Still shows in Use)

find_real_file.png

 

But when we change it from Asset side, it does reflect change on CI side. 

Feel free for additional questions.

Thanks.

If you change another field on the CI that syncs to the Asset, such as Assigned To, at the same as the Status and save the CI, does the Assigned To value update on the Asset? I'm wondering if there is something preventing all updates from CI-to-Asset or just the Status/State sync. 

Hi Tim,

I tested it with Assigned to field from CI side and I see it does changes on asset side. No issue there.

Thanks.