+ Start a Discussion
shiva pendemshiva pendem 

How to Display Approval Process Custom Error Messages

Hi friends
I have a one approval process on account object. I want to display custom error message instead of standard Error message after clicking on the approval button . In my Senario Account name is Unique So whenever we Click On Approve button the trigger will fire and  the custom Object record will store into account object at that time i want show the Custom message instead of standard message when duplicate Account name found in Account object.. Please if u have any idea about this issue please share with me 

shiva pendem
SonamSonam (Salesforce Developers) 
I believe you cannot really override the standard approval button, hwever, if you wish to check just for duplicates - you can do the same at the time of entering the Account..right? please correct me if I haven't understood the exact requirement.