Winter ’21 Preview from AccidentalCoder: Use Before Delete Triggers To Clear Out Related Records So Your Delete Will Work

A really nice use case from Vibhor Goel: he pointed out that the common situation where a delete is prevented by related records can be addressed with a Before Delete flow like this one:

Check it out!

Subscribe
Notify of
guest
2 Comments
Inline Feedbacks
View all comments
VIBHOR GOEL

Thanks for sharing @Alex

Andy Haas

Question on this. Would you really want to delete the Cases related to that contact? Or would you want to reassign them to another contact.

We have an open change request for this and we were leaning on both sides of keeping the cases so if the customer called in we can see them or delete as that contact is no longer there.

Your opinons are much appreciated.