APEX: Show error messages in UI triggered by 'After Undelete' trigger
Sales Force Automation,
Large Enterprise Ideas,
If an error message is added to a record in an 'after undelete' APEX trigger, the error message is not displayed to the user. This behavior is dissimilar to how the 'addError()' method works in other trigger types. Instead, the user encounters a generic error message. Please allow us to display the reason we are interrupting the undelete, so we can properly instruct our users how to handle this case.
- 2 months ago
- 1 year ago
- 5 years ago
- 6 years ago
One Market St.
San Francisco, CA 94105
If you still can't find what you're looking for, try to submit a case.
Powered by Community Cloud platform. Learn More ›
Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.
Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.
Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.
Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.