Salesforce Fact #848 | Trigger validation on locked records

Suppose we want to put a validation that if an account record is locked, we cannot create any related record for example Contact.

Attached is a sample trigger code:






Comments

Popular posts from this blog

Salesforce Fact #913 | Access selected record field values in screen flow lookup w/o Get Records