+ Start a Discussion
mukesh guptamukesh gupta 

Approval process display addError msg

When manager reject opportunity then error message display from trigger, but i want to bypass addError message in apex trigger. for spicific condition user face addError message, but when opportuntiy reject by manager then i want to by pass this error message.

Please suggest

Regards
Mukesh 
KtHasNoLimitKtHasNoLimit
Hello Mukesh,

You can remove the add error message code from a trigger and on certain conditions use it using if condition. You need to modify the trigger code

Thanks,
Kirti Rathod