Workflow/Validation Rules
Last updated
Was this helpful?
Salesforce allows defining several rules on objects and fields, such as validation rules, workflow rules, process builder flows, assignment rules, escalation rules, auto-response rules, and triggers.
Validation rules ensure that the data entered into a record meets the defined standards before the record can be saved. These rules help enforce business rules at the data-entry level.
A validation rule consists of:
Formula — A logical expression to evaluate the business condition. If it returns TRUE, an error is triggered.
Error Message — Displayed to users when the validation rule fails.
Location — Defines where the error message appears (either at the top of the page or below the relevant field).
Salesforce processes rules in the following order:
Validation Rules
Assignment Rules
Auto-response Rules
Workflow Rules
Escalation Rules
Workflow rules are business logic containers that automate actions based on specific criteria. When criteria are met, predefined actions execute. If not, the record is saved with no additional action.
Example: If it’s raining, then wear a raincoat.
Structure of a Workflow Rule:

Criteria — Conditions to test a record (like the if condition).
Actions — Events triggered when the criteria are met (like the then condition).
To ensure smooth backup or recovery with AutoRABIT Vault, it may be necessary to disable certain automated Salesforce features.
Workflow rules can be disabled during EZ-Restore operations in AutoRABIT Vault.
These must be disabled directly in Salesforce.
Note: Workflow Rules, Validation Rules, and Triggers associated with managed packages cannot be disabled, either manually or automatically.
Last updated
Was this helpful?
Was this helpful?

