PhraseryPhrasery homeGet Phrasery
CRM & sales ops21 categories

Write a Salesforce validation rule

Stopping bad data at entry without blocking every legitimate edge case.

LongSalesforcevalidationadmin
Write a Salesforce validation rule for the requirement below.

Return: the formula, the error message as the user will read it, where the error should appear, and the exact conditions under which it fires.

Then list what it would wrongly block โ€” bulk loads, integration users, historical records being edited for another reason, record types it should not apply to โ€” and how to exempt them.

If a validation rule is the wrong tool and this should be a required field, a flow, or a report, say so.

Requirement:

Making it yours

  • Paste your own material where the prompt asks for it. Everything above that line is instruction, not content.
  • Delete any rule that does not apply to you. A shorter prompt that fits beats a thorough one that does not.
  • If the answer comes back vague, add a line saying what you do not want. Constraints work better than encouragement.

Automation and admin. Workflows, validation, field design and the documentation nobody wrote at the time.

Related prompts

Keep this one

Phrasery saves prompts with a right-click and puts them back the same way. Add this to your own library in one click.

Add to your browser โ€” free