How can I deactivate validation rules before migration to Salesforce?

Last Updated on July 28th, 2025

What are validation rules in Salesforce?

The set of rules that enforces data quality and business logic by preventing users from saving records that don't meet specific criteria.

How they work:

  • You define logical conditions (using formulas).

  • If the condition evaluates to TRUE, Salesforce shows an error and blocks the record from being saved.

  • They work on both create and edit actions.

Examples:

  • Prevent saving an Opportunity without a close date.

  • Disallow setting a Stage to "Closed Won" if the Amount field is blank.

  • Ensure a phone number is entered in a certain format.

Scope:

  • Triggered when a user saves a record.

  • Can check fields on the same object (no cross-object logic unless using custom code or flows).

It’s possible to activate or deactivate validation rules before migration to Salesforce on both Salesforce Classic and Lightning Experience platforms. 

Note: Available in Essentials, Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions. 

Note: To define, change field validation rules, or view field validation rules you need to have Customize Application user permissions. 

So, to deactivate validation rules before migration to Salesforce, go through the following steps:

1. From the Setup, go to Object Manager and choose the relevant object.

2. In the left sidebar, click Validation Rules:

validation-rules1


3. Click "Edit" from the drop-down menu.

validation-rules-2-1


4. To deactivate the rule, deselect Active, and save your changes.

validation-rules-3

 

Still need help?

Please submit an inquiry on the contact page, email support@syncmatters.com, or reach out to us via chat.