I'm getting the error below:

We can't save this record because the “Legal Contract: Updates - New Records” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to update records: DUPLICATE_VALUE: duplicate value found: Legal_Contract_ID__c duplicates value on record with id: a1Gn0000000e5iV. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 723479457-32704 (-282215805)

This is happening because I have a field that does not allow duplicate records. I'm getting this error whenever I create a new record from the account page. Is there a way to have a custom alert message? or any work around it?

enter image description here

1 Answer 1


You can set custom alert text on the duplicate rule actions. Go to

Setup>Duplicate Rules > Duplicate Rule you want to edit

then you can edit the Alert Text. See here: Customize Duplicate Rules.

  • The process builder still fails. Good thinking though.
    – user56320
    Mar 1, 2019 at 18:57

You must log in to answer this question.