Skip to main content
We have a custom field NEXT STEPS for our Leads object. When this field is updated, Process Builder updates our custom field PROBABILITY field and the LEAD STATUS. All fields are picklist fields.

 

The automation fires when a record is created OR edited.

 

We are running into FLOW APPLICATION errors with duplicate records.

 

What's weird about it is that you can create a record as a duplicate, it will get flagged as a duplicate, and then you can merge without running into an automation error.  

 

You can merge existing flagged duplicate records without running into the automation.

 

You CAN'T save an existing record that you edited into a duplicate record. When you save you get this error message:

 

"This error occurred when the flow tried to update records: DUPLICATES_DETECTED: Use one of these records?. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 33823045-284732 (472461715)"

 

I'm not a developer so I'm not sure what the Developer Guide has to say to this. Why is this only happening with existing records that are being edited? How do I fix the automation?
5 respostas
  1. 9 de nov. de 2020, 05:56
    I'm pretty sure it's because in your duplicate rule you ticked the "Alert" box. The error "Use one of these records?" is literally the message a user would get if they tried to create/update the duplicate in the UI. The only way I know to prevent this is to uncheck that box.

     

    There are tricks you can implement to have this rule bypassed for automations. For example, you could experiment with using the rule conditions to exclude records in instances where you would rather the automation complete even it creates a duplicate.
0/9000