- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 06:28 AM
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
.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 04:00 PM
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:
- Create the "Unknown" value in the choice list for Asset > State
- Label: Unknown
- Value: [your choice, but it should be an available number, like 0 or 12 or 13]
- Create the "Unknown" value in the choice list for Configuration Item > Status (install_status)
- Label: Unknown
- Value: Use the same one as before
- Create the "Unknown" value in the choice list for Hardware (cmdb_ci_hardware) > Hardware Status (hardware_status)
- 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.
- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 07:23 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 08:46 AM
Hello Tim,
Thanks for your response. Here are the details.
CI side changed the Car-1 install status.
But on Asset side it doesn't change. (Still shows in Use)
But when we change it from Asset side, it does reflect change on CI side.
Feel free for additional questions.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 09:24 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2021 09:40 AM
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.