CMDB: Update record only if target field is empty in robust transform map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2022 11:04 PM
Hi,
We have integrated Crowdstrike using Service Graph Connector for Crowdstrike, as part of requirements we would like to update the fields in target CIs only if the target field value is empty.
Is there any possibility in ServiceNow to achieve this?
Is there any possibility to access target record before update to see if the field is empty or non-empty in robust transform map script like we have in normal transform maps?
Thanks!
- Labels:
-
Service Graph Connector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 09:40 AM
You should look into IRE reconciliation rules. If you have multiple sources reporting on one CI, you can assign priority to sources. This way if the source with highest priority updates a field, no other sources will be able to update that field. This is a much cleaner way than trying to do a lookup to see if the field is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 02:37 PM
Agree, but this BR solution is valid for ServiceNow's vCenter discovery and ESX server CIs because discovery bypasses IRE and reconciles in a script include (KB0728504).