+ Start a Discussion

Keeping executed contracts from getting deleted

I am trying to come up with a validation rule that will keep us from deleting executed contracts.  Can you please help with the formula?

Best Answer chosen by Admin (Salesforce Developers) 
Shannon HaleShannon Hale

Since validation rules don't execute when deleting a record (only when saving) you won't be able to do this with a validation rule. You'll need to use a trigger.


Here are a couple of blog posts I found that might help: