Timeline for Duplicate Management Error in Process Builder?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4, 2020 at 8:41 | comment | added | TheArchitecta | I can see why this answer does not work, because the question does not have enough detail. Yes this answer is not on point, sorry to say. the other answer is correct it is a bug. | |
Jun 20, 2016 at 13:27 | comment | added | Frederik Witte | Yeah sorry I think we are not on the same level here. I know that a flow is different than a process, I am a Salesforce Dev myself, I know about the basics. This is not a matter of order of execution. The question is not, why the record I'm saving is being marked as a duplicate. The problem is that there is an error AFTER you ignore the warning. The error that occurs directly states "Duplicates detected" and I am not updating any fields in the process which are used in the duplicate management rules. So I guess it really just is a bug | |
Jun 20, 2016 at 13:21 | comment | added | crmprogdev | You may also want to look at Why is the Record I'm trying to save being flagged as a Duplicate. I'm not certain I can help further without more details. The person to ask would be Gupta in the Process Automation Group on the Success Community. | |
Jun 20, 2016 at 13:17 | comment | added | Frederik Witte | The problem is, that there is an error being displayed caused by the Duplicate Management. I want the user to be able to ignore the warning and save it. I know about duplicate rules, if I didn't want the record to be saved I would just not allow this from the beginning. The problem is, while the process is active, the duplicate management doesn't work like it should. | |
Jun 20, 2016 at 12:44 | comment | added | crmprogdev | Then I don't understand your question. If the error message is being displayed, perhaps the issue is that you want to prevent your users from saving the duplicate? If so, you need to add logic to your flow should an error occur of that kind that automatically aborts the save and presents an error message of your own. See the documentation for how to present custom error messages and error handling in the Salesforce Help.. | |
Jun 20, 2016 at 12:33 | comment | added | Frederik Witte | Sorry, there was a miscommunication. I edited my original question. The message IS being displayed, the flow error comes when you then click "Save(Ignore warning)" | |
Jun 20, 2016 at 11:43 | comment | added | crmprogdev | If you "got" what I was saying, you'd understand that it's impossible for the duplicate rule to fire. It's also your responsibility to create error handlers in your processes to help diagnose these kinds of issues. You might want to keep in mind that not everyone has duplicate rules turned on in their orgs for all their objects. | |
Jun 20, 2016 at 8:59 | comment | added | Frederik Witte | I get what you are saying, but shouldn't the duplicate rule fire and display the duplicate management error message, instead of the process firing an error? | |
Jun 17, 2016 at 12:09 | history | answered | crmprogdev | CC BY-SA 3.0 |