You need to sign in to do that
Don't have an account?
vishal yadav 86
Bypass duplicate rules
Can we customize standard error message for duplicate rule using apex.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Greetings!
Please find the sample code as below:
You can change the logic according to your business logic.
Reference:https://salesforce.stackexchange.com/questions/131617/prevent-duplicate-account-creation-with-custom-error-message
Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Need bit clarity.
Can you ping me here 9030426884
If u don't mind.
Sorry,I couldn't connect with you at the given number.However,you can ask any question here and I'll try to answer.
Thank you!
But the error message shown in that rule should be customized using APEX.
Is that possible?
Please mark it as best answer if this is helpful.
Thank you!