Can we avoid deletion of records through validation rules? : salesforce validation rules



Can we avoid deletion of records through validation rules? : salesforce validation rules..

Answer / Sameer Kumar

Yes, you can use a validation rule to prevent deletions by setting up an ON DELETE trigger on the object and using the IF(AND(), TRUE, FALSE) formula with the DELETE function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

What are the different ways to conditionally display markup, and what is the preferred approach?

1 Answers  


What are the three types of object relations in salesforce?

1 Answers  


Can we change the grant access using the role hierarchy for standard objects?

1 Answers  


What is workflow rule and workflow actions? : salesforce workflows and approval process

0 Answers  


Is it possible to create parallel approval process (ability for multiple user to approve or reject a record)? : salesforce workflows and approval process

1 Answers  


Is it possible to invoke an adderror() operation on the trigger.old list in a delete operation in trigger ?

1 Answers  


What is the default timeout period while calling webservice from apex.

1 Answers  


Define a validation rule?

1 Answers  


What all data types can a set store? : salesforce crm

1 Answers  


What is the use of “@future” annotation?

1 Answers  


If a user does not have access to a specific record type, will they be able to see the records that have that record type? : salesforce sharing and security

1 Answers  


What are the type of events into salesforce lightning component?

1 Answers  


Categories