web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplicate rules "you can include only 450 characters in the matchcode"?

(1) ShareShare
ReportReport
Posted on by 312

Hi all,

 

I get the following error message when trying to setup a duplicate rule?  "you can include only 450 characters in the matchcode"?

 

I'm trying to setup a rule that is and exact match of 3 criteria.

 

I would be grateful for any help.

 

 

CHEERS

*This post is locked for comments

I have the same question (0)
  • devinestorm Profile Picture
    312 on at
    Re: Duplicate rules "you can include only 450 characters in the matchcode"?

    Hi again Gustavo,

    The above has helped to change/fix one of my rules, but I have a rule that contains 2 x option fields.  Even though the options only contain up to 20-30 characters the matchcode length allocates 255 per option field.

    Is there anything I can do to fix this?

    THANKS AGAIN

  • devinestorm Profile Picture
    312 on at
    Re: Duplicate rules "you can include only 450 characters in the matchcode"?

    THANKS :)

  • Verified answer
    Gustavo Longo Profile Picture
    on at
    Re: Duplicate rules "you can include only 450 characters in the matchcode"?

    Hi Devinestorm,

    According the article rc.crm.dynamics.com/.../source_dd_publishrule.htm, when you publish a duplicate-detection rule, a matchcode is created for every record in the matching record type for that rule.

    Moreover, this article http://rc.crm.dynamics.com/RC/2011/en-us/online/5.1_ctp/help/source_dd_editrule.htm has told about other important aspect:

    The number of criteria that you can select is limited by the number of characters that can be stored in the matchcode for the record. As you add criteria, watch the Current matchcode length value shown at the bottom-left of the Duplicate Detection Rule area.

     

    Based on a support case experience, I show you an example:

    Rules:

    First Name > Exact Match
    Last Name > Exact Match
    Email 1 > Exact Match
    Status > Exact Match

    These sets the matchcode length to 465. The 450 limit is not something that can be changed.

    One thing that we should be able to change, however, is the amount of the length being used per attribute.

    It was modified the rule to ensure the matchcode length total is under 450.

    For example, the maximum matchcode length of Email 1 is 100, so instead of using Exact Match, it was changed it to just use the same first 85 characters, as it is unlikely you will have any email addresses longer than 85 characters anyway.

    This changed the rule to appear as follows:

    First Name > Exact Match
    Last Name > Exact Match
    Email 1 > Same First Characters > 85
    Status > Exact Match

    I suggest you to apply these changes and try again.

    Regards,

     

    Thank you for using Microsoft Dynamics CRM Communities,

    Dynamics CRM Support Blog

     

    Gustavo Dobkowski Longo

    Support Engineer

    Microsoft Dynamics CRM

  • devinestorm Profile Picture
    312 on at
    Re: Duplicate rules "you can include only 450 characters in the matchcode"?

    Hi Gustavo,

    Thanks for your response, although not sure how to limit the matchcode to only 450 characters.  I am using the custom built tool, and have tried to add 3 x criteria...........

    Is the system only designed for simple duplicate rules?

    CHEERS,

  • Gustavo Longo Profile Picture
    on at
    Re: Duplicate rules "you can include only 450 characters in the matchcode"?

    Hi Devinestorm,

    It appears a behavior by design.

    You would better guarantee that the matchcode has only 450 characters.

    Regards,

     

    Thank you for using Microsoft Dynamics CRM Communities,

    Dynamics CRM Support Blog

     

    Gustavo Dobkowski Longo

    Support Engineer

    Microsoft Dynamics CRM

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans