It would be great to run rules on delete event. For instance, we wanted to delete all child records when a parent is deleted.
The easiest way to achieve this is to write a rule for the child type that the entity will delete itself when it has no parent (I call my rule ‘suicide if orphan’!)
3 Likes
It works like a workaround but the behavior is not expected in general
How so? What is not working as you would expect?
You can create a child record but forget about the connection field (currently we don’t have validation rules or required fields functionality). With your proposal a new record will be deleted.