Referential Integrity can eliminate ‘bad pointers’ where the deletion of a referenced record causes an invalid table lookup on another table.
As an SD, we recommend that part of the development process definition-of-done include:
- launching the
Referential Integrityapplication - executing the
Reload Datalist form action - for any results applicable to the work being done, choose to
EnforceorTurn Offreferential integrity for the relevant table lookups. - deliver the
Referential Integritychanges via a metadata manifest and promote to production
When set to Enforced, this will prevent your customers from inadvertently being able to delete referenced records by accident. Unwinding an accidental deletion, if possible, is difficult and time consuming and usually requires administrator intervention. Protect against that possibility by making an intentional decision to configure Referential Integrity for all your table lookups.