Sync errors in Chargebee Salesforce integration due to duplication rules

Modified on: Tue, 15 Dec, 2020 at 5:48 PM

This article covers 

You can make use of this guide when you get the sync errors due to duplication rules.

 

Summary:

 

Sync errors that happen due to duplication rules inspite of marking the action as Allow instead of Block. Active Salesforce duplicate rules can conflict with Chargebee that insert records into your Salesforce organization. When Chargebee integration inserts a new record into Salesforce, the Salesforce duplicate rules are run. If a duplicate is found, the record is not inserted into Salesforce. Most of the integrations that work with Salesforce(including Chargebee) which insert records into Salesforce contain their own built in duplicate matching rules and should be excluded from the Salesforce built in duplicate matching rules.

 

Best Practice

 

Best practice is to allocate a Salesforce license to integration and assign them to a profile specifically set up for the integration user(s). The profile of the user who had connected Chargebee and Salesforce in this case. This profile can then be excluded from firing the duplicate rules.

 

There are also some integrations(including Chargebee) whose processes(automations) use the user who set the process up as the creator for new records. These should be reviewed as well as they may also cause records not to be inserted into Salesforce. The fix is to make sure the processes are owned by a user that is excluded from the firing of the duplicate rules. 

 

Example:

 

In the example below, the matching rules have been configured to run only when the Current User is not equal to our two Chargebee related profiles. This will exclude them from the duplicate checking process. 

 





 

 

M
Monica is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.