doug_schulze
ServiceNow Employee
ServiceNow Employee

I wanted to share with the discovery friends a post my good friend and team-mate @emir did with identifying and removing orphaned relationships over on the platform side of the community...Think some of us might find some positive use from his good work...

Delete Orphaned Relationships (CMDB_REL_CI) Script

 

Comments
A Westervelt
Mega Guru
This is really useful and a nice validation as I had previously done something similar to the table clean up job. I also specified retired/absent CIs in the same job to have their relationships removed to keep a clean dependency map as best as possible.
Version history
Last update:
‎06-01-2020 05:25 PM
Updated by: