Add CI Relationship keeps spinning in "Loading Configuration Items" and never loadsIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } CI Relationships are not loading under Relationship formatter and keeps spinning and never loads.Open CI and click on "Add CI relationship" in CI Relations Formatter Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Due to Orphan relationships (and/or)Due to invalid records on "CI Relationship Types" Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Orphan relationships Identify the orphan relationship (parent empty or child empty) from the cmdb_rel_ci table and delete the relationships.We can also use the below example background script to identify multiple orphan relationships. This is an example script to count orphan relationships and remove them. Depending on the total count the delete script should be run as a background job.It should be able to clean about 1 million orphans per hour depending on the system load. The delete script should be run in a dev (non-production) instance to verify that it fixes the problem and then can be run in prod. // Find orphan rel count var ga = new GlideAggregate('cmdb_rel_ci');ga.addEncodedQuery('parent.sys_class_path=NULL^ORchild.sys_class_path=NULL^ORtype.parent_descriptor=NULL^ORtype.child_descriptor=NULL');ga.addAggregate('COUNT');ga.query();ga.next();gs.log(ga.getAggregate('COUNT')); //Delete orphans - NOTE comment out the gs.log(orphan_rel_sys_ids) if dealing with a large number or this will flood the log. var gr = new GlideRecord('cmdb_rel_ci');gr.addEncodedQuery('parent.sys_class_path=NULL^ORchild.sys_class_path=NULL^ORtype.parent_descriptor=NULL^ORtype.child_descriptor=NULL');gr.query();var orphan_rel_sys_ids = [];gs.log('Orphan record count:' + gr.getRowCount());while(gr.next()) { orphan_rel_sys_ids.push(gr.getValue('sys_id'));}gs.log(orphan_rel_sys_ids);gr.deleteMultiple(); Reload the CI page and the relationships should start showing up. Invalid records on "CI Relationship Types" Identify the invalid records (parent descriptor empty or child descriptor empty) from the cmdb_rel_type table and fix/delete them. /cmdb_rel_type_list.do?sysparm_query=parent_descriptor%3DNULL%5EORchild_descriptor%3DNULL