I need to delete 3 child records for a custom record when I delete the parent. But, i get the "there are dependent records" error and can't delete them first.
a
Alan Fitch
02/04/2022, 3:51 PM
The checks for dependent records happen before the script that runs.
Set the field that links the child record to the parent record to "Allow delete and set as null"
n
Nicholas Williams
02/04/2022, 3:52 PM
@Alan Fitch annoying haha i forgot about that setting. Thanks!! That worked.