+ Start a Discussion
Louis BenioffLouis Benioff 

Duplicate Rule causing Unhandled Exception in Process Builder

After turing on Duplicate Rules existing Process Builder flows are now failing.  The error: UPSERT --- UPSERT FAILED --- ERRORS : (DUPLICATES_DETECTED) You're creating a duplicate record. We recommend you use an existing record instead. --- for SFDC record with ID : null,

These are the steps:

1) User edits a record and changes the account name.
2) User saves the the changes and the Duplicate Rule runs and prompts user to Save Anyway or Cancel.
3) User selects Save Anyway.
4) Process Builder Flow Runs and fails because of the duplicate rule that the user has already made a selection.

The field being updated by the Process is a custom field that is not part of any Duplicate Rule.
ShashankShashank (Salesforce Developers) 
If you are still facing this issue, I would recommend you to reach out to salesforce support who can look into the cause for you.
Brandon CarrBrandon Carr
Did anyone find a resolution to this? I am having the same issue.
Louis BenioffLouis Benioff
I am currently work with Salesforce support on this issue.  Supposedly, though it doesn't make sense, the Process Builder should display the same Save & Ignore message that the user gets in the GUI.  We have triggers that update the account and don't have the same issue.
CillaCilla
FYI, for anyone else researching this issue:
https://success.salesforce.com/ideaView?id=08730000000oMVgAAM