- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2021 02:38 AM
EDIT: Okay so I tested it on a developer instance and it works just like in my instance so this is OOB behaviour and possibly intended? Is there a way to fix this?
Hello ServiceNow Community, I have an issue I just cannot fix.
Configuration Item to Asset Status sync is not working. If I set my Configuration Item (computer in cmdb_ci_computer) to Retired, in Hardware Assets it stays as 'Installed'. However, if I change the status in Asset to 'Retired' it will also be marked as 'Retired' in the Configuration Item table.
Asset - CI Install Status Mapping is as it was OOB. I've tried to find a solution and I can see a lot of people having similar issues but they are always pointed towards activating that rule but in my instance it is already active.
It does not matter if the change to Configuration Item is made by a script, by a Flow or manually by the form. It never updates on the Asset side. Syncing the other way works though.
I really appreciate if someone could steer me towards an answer to this.
Thank you in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2021 03:37 AM
I sense already Business Rule is There by Default and if you want more customization You can create new BR as per your need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2021 03:30 AM
Please Follow these Steps
Asset and CI management | ServiceNow Docs
Map asset state and CI hardware status
Map the asset State and Substate fields to the CI Install Status field. Don't use the Substatus field on hardware CIs because the CI synchronization does not update the field when assets are updated. When you create the mapping, you can set the synchronization direction from the asset, CI, or both.
Before you begin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2021 03:32 AM
Okay so I am answering my own question but I found a solution. It might not be the most efficient one but it seems to be working.
I created a new Flow using the Flow Editor. The Flow will trigger whenever a record in cmdb_ci_computer is marked as 'Retired'. Then it will do the update on the Asset side of that CI. If anyone has a better way of dealing with this issue I am more than happy to take advice from people with more knowledge than myself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2021 03:37 AM
I sense already Business Rule is There by Default and if you want more customization You can create new BR as per your need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2021 03:41 AM
Thank you Vishal - I think I overly complicated things and creating a new business rule instead of a Flow is a much more elegant solution. Thank you.