Skip to main content

I have Source System field in Account and Contact. In Duplicate Rule for Contact, the xml clearly identifies as Contact Field however during deployment, Salesforce incorrectly interprets as Account field and blocks deployment. Duplicate Rule filter condition xml:  

<duplicateRuleFilterItems>

            <field>Source_System__c</field>

            <operation>equals</operation>

            <value></value>

            <sortOrder>2</sortOrder>

            <table>Contact</table>

  </duplicateRuleFilterItems> 

Error thrown on deployment -

Contact.00Ncp0000087tmL is not a valid condition field for : Contact.

 

This field id of Account's Source System field. Did anyone else face this issue, what was the resolution for it? 

 

#Deployment

1 个回答
  1. 10月27日 11:03

    Hello @Harsha Shashikanth

     

    Please remove the condition from the Duplicate Rule in your source org, then try to validate and deploy it again.

    Once the deployment is successful, you can manually add the condition back to the Duplicate Rule in the target org.

0/9000