How to test Data Refresh Rules on ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 03:53 PM
Hi, I need to ensure that the Data Refresh Rules are working correctly.
How can I test it?
I tried to execute Data Collectors Jobs related to Stale indicators or related to CMDB,
and execute all the CMDB Health Dashboards Jobs to get my test records reflected on the CMDB Correctness Scorecard or Stale CIs and it doesn't work.
Could you help me with the correct steps? Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:48 PM
@HéctorR Data refresh rules should be considered alongside reconciliation rules, not health jobs. These rules help invalidate reconciliation rules if the CI discovery source is outdated.
For example, you have reconciliation rule R1 (Ram) for ServiceNow with priority 100, and R2 (Ram) for ServiceWatch with priority 200. When ServiceNow updates the Ram field, ServiceWatch cannot update it later due to the reconciliation rules, and the Ram field is masked.
However, if there is a 1-minute data refresh rule for ServiceNow and the CI was last updated by ServiceNow, ServiceWatch can update the Ram field if its sys_updated_on timestamp is older than a minute, even though it has a lower priority.
Health jobs are unrelated to data refresh rules.