Skip to main content

I have a Flow that creates a Contact record from user input. I ran into an issue where I entered a name that was similar to the name of an existing Contact and the Flow threw a fault with the fault message "This error occurred when the flow tried to create records: DUPLICATES_DETECTED: This contact might be a duplicate. Please review before proceeding. Use one of these contact records instead?"

 

When this alert appears when creating a Contact manually, I can either close it and proceed or click a link to see the potential duplicates. In a Flow though, it's a fault and I'm not sure how to handle it such that my users can proceed.

 

Advice?

10 answers
  1. Nov 18, 2024, 6:16 PM

    You can write your duplicate rules to exclude the user running the flow. You can update the flow to run as System instead. 

0/9000