ANT Migration Tool for Salesforce Duplicate and Matching Rules

ANT Migration Tool for Salesforce Duplicate and Matching Rules

DuplicateRule is used to retrieve and deploy Duplicate Rules.
MatchingRule is used to retrieve and deploy Matching Rules.

Sample Package.xml:

<?xml version="1.0" encoding="UTF-8"?>  
<Package xmlns="http://soap.sforce.com/2006/04/metadata">    
	<types>  
		<members>Lead.Test_Duplicates_Rule</members>  
		<name>DuplicateRule</name>  
	</types>   
	<types>  
		<members>Lead.Test_Lead_Matching_Rule</members>  
		<name>MatchingRule</name>  
	</types>        
	<version>43.0</version>        
</Package> 

Leave a Reply