Suggested answer

ISNEW() returns true when the record is being created (not on updates). Use it to enforce required-on-create conditions.
ISCHANGED(field) returns true if the field value changed during an update. Example: prevent changing the Status from "Closed" back to "Open":
ISCHANGED(Status__c) && PRIORVALUE(Status__c) = "Closed"
PRIORVALUE(field) returns the previous value of a field before the current edit — only meaningful in update context. Combine with ISCHANGED for targeted change validation.
Cross-object validation: Reference parent record fields using the lookup relationship syntax in validation rules.
Bypassing for specific users:
— Use $Profile.Name = "System Administrator" or a custom permission: $Permission.Bypass_Validation_Rules in the validation rule formula with a leading NOT(...) or as a condition to short-circuit evaluation.
— Error placement: set the error to a specific field for inline display, or "Top of Page" for a general message.

Practice content for interview preparation; not an official vendor answer. Verify details against current product documentation.

Community comments (0)

No comments yet.

Sign in or create a free account to add a comment. Comments are moderated before they appear.

Plain text only, 3–2000 characters. A moderator reviews every comment before it is published.