DuplicateRuleCondition entity messages and methods


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A duplicate rule condition represents matching criteria in the duplicate detection rule that is used to detect duplicate records in the system.

The schema name for this entity is DuplicateRuleCondition. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download. The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.




Creates a duplicate rule condition. You can also call the IOrganizationService.Create method.


Deletes a duplicate rule condition. You can also call the IOrganizationService.Delete method.


Retrieves a duplicate rule condition. You can also call the IOrganizationService.Retrieve method.


Retrieves a collection of duplicate rule conditions. You can also call the IOrganizationService.RetrieveMultiple method.


Updates a duplicate rule condition. You can also call the IOrganizationService.Update method.


Prevent validation errors:

  1. If you set the OperatorCode attribute to ExactMatch, don’t set the OperatorParam attribute to any value.

  2. Don’t set the OperatorParam to zero during Create or Update operations.

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions