Script to locate records referencing deleted entities

In general is there a way to locate all records that reference a deleted entity, such as a deleted interface?

Not directly…

Export,
delete interface
export again,
compare files differencies…

Ouch :slight_smile: