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 #218 | Blank picklist value is actually NULL

Salesforce Fact #947 | Resolving dashboard logged-in user limit error

Salesforce Fact #929 | Nth highest in screen flow