function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rahul H 4Rahul H 4 

we don't have Duplicate Rules for Case entity. However, we are looking for an alternate workaround to get this fixed as its a high priority item for us.

we don't have Duplicate Rules for Case entity. We are looking to Check Duplicate VIN and display error message as record with identical value exists. Can anyone please help. Thanks 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Rahul,

Greetings to you!

It is an idea (https://success.salesforce.com/ideaView?id=08730000000DjN5AAK) for Duplicate Management for Cases.

However, you can write a trigger to find the duplicate cases and accordingly display the error message. Please refer to the below links with a similar discussion which might help you further with the above requirement.

https://developer.salesforce.com/forums/?id=906F0000000Apt8IAC

https://salesforce.stackexchange.com/questions/47790/find-duplicate-case-and-close

http://www.infallibletechie.com/2014/08/trigger-to-find-duplicate-case-by.html

http://sforcehacks.blogspot.com/2012/01/email-to-case-can-create-too-many-cases.html

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks and Regards,
Khan Anas