# Handling Validation Rule Conflicts

## Overview

Validation rules in your Salesforce org may prevent Integrous Analytics from updating crucial Attribution and Sales Progression tracking, which should work independently of your other business processes.

This article explains how to resolve these conflicts while maintaining your business rules.

## Fields Affected By Bypassing

When Validation Rules are bypassed, our system only updates a limited set of fields:

* Our own custom fields for measuring Attribution and Sales Progression
* Just two standard fields, *and only if you configure us to*:
  * **Lead Source** (if Lead Source Override enabled) on Leads and Contacts
  * **Lead Status/Contact Status** (if Reactivation Status configured) on Leads and Contacts
  * [More info about these exceptions](/admin-console/standard-object-field-settings.md)

## How to Implement It

We support bypassing Validation Rules on the following objects:

* Lead
* Contact
* Opportunity
* Task

To implement, add this condition to any conflicting validation rule:

```plaintext
NOT(ISCHANGED(integrous__IAExternalExecutionContext__c))
```

**Note:** There isn't a global setting to allow our system to skip all Validation Rules. Each rule needs to be updated individually.

### Example

For example, to avoid conflicts with this Opportunity Validation Rule:

```plaintext
AND(
  ISPICKVAL(StageName, "Closed Won"),
  ISBLANK(AE_Notes__c)
)
```

Update it as follows:

```plaintext
AND(
  NOT(ISCHANGED(integrous__IAExternalExecutionContext__c)),
  ISPICKVAL(StageName,"Closed Won"),
  ISBLANK(AE_Notes__c)
)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.integrousanalytics.com/how-to-guides/handling-validation-rule-conflicts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
