# Enable Validation Rules

This template enables validation rules. Validation rules allow you to specify a condition that will trigger a certain action if it is met and checks the record values before submission to a database.

To create this template, follow the below steps:

1. In the **Create Migration Template** screen, select the checkbox: **Enable Validation Rules**.
2. Next, upload the package manifest XML file. Click **Choose File** and upload the required XML file from your local system.
3. Click **Save**.&#x20;
4. Once the template is successfully created, you'll be redirected to the **Environment Provisioning History** screen.
5. Click the Run button to run the template on your destination org.
6. Select your **destination org** from the dropdown and enter the **email address(es)** to receive an email notification whenever the template is run.
7. To use the current template as the post-deployment during [CI/CD](https://www.autorabit.com/blog/8-advantages-of-using-salesforce-ci-tools/), select the **Enable Validation Rules** checkbox under the **Post Deployment Steps** section. This is optional.
8. Click **Run**. Please check the **View History** page for a detailed summary report of the operation carried ou&#x74;**.**
