2

I have a duplicate rule (via Duplicate Management) on account. If an account looks like a duplicate, I have it set to Alert and Report but Allow the record to be inserted/updated.

For some reason, however, if an account that looks like a duplicate enters a flow (process) it will throw an error:

UPDATE --- UPDATE FAILED --- ERRORS : (DUPLICATES_DETECTED) The Dealer you are trying to create appears to be a duplicate. We recommend you use an existing Dealer instead.

I have also seen similar behavior when performing an insert/update/upsert via Data Loader. The record operation will fail with a similar warning.

So it seems that even though I have this rule set to Allow a possible duplicate, it is acting like it is blocking it instead.

How can I stop the errors caused by Duplicate Management (without disabling the rule)?

2
  • I am facing this issue with users today too
    – compski
    Commented Jun 2, 2021 at 6:51
  • did it ever work for you? @swisher
    – SEuser
    Commented Nov 29, 2023 at 14:39

1 Answer 1

1

Not sure if you can set allowSave via flow. Might have to define an apex class to do inserts and call that class from the builder..

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Database_DMLOptions_DuplicateRuleHeader.htm

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .