You need to sign in to do that
Don't have an account?
Marco Schmit 30
Duplicate Record Item not removed after Account is not longer a duplicate
Hi all,
I'm trying to find out how the Duplicate Record Set/Item objects work.
My scenario:
Thanks for helping!
I'm trying to find out how the Duplicate Record Set/Item objects work.
My scenario:
- Create an Account
- Create another Account in way that the Duplicate Record warning message pops up
- Click Save and Ignore
- 2 Duplicate Record Items got created (so far so good)
- Change one of the duplicate Accounts, so they are not duplicates anymore
- My understanding that the Duplicate Record Items should be deleted now - but they are not
Thanks for helping!
Unfortunately Duplicate Record Set/Item will not trigger will deleting record and that's reason it is not updating the Duplicate Record Items. It will only work in case of insert and update.
Thanks,
Neetu
thanks for your response. I'm not sure if I got your answer correctly.
"It will only works in case of insert and update" ... of what? The duplicate account or duplicate record item/set?
It also seems to work if the duplicate accounts is deleted. The associated Duplicate Record Set and Items get deleted then as well.
In the end, I want to create a checkbox which is true if the record is an duplicate and false otherwise. Maybe there is another way to accomplish this?
You can achieve this by writing trigger. If you are not familiar with apex coding, I can assist you.
Thanks,
Neetu
So I will go the the Trigger approach for each object.
Thanks!
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Datacloud_FindDuplicates.htm
So no need to rewrite any logic to find duplicates