All Ideas

Idea Details

Post an Idea
480  Points
Under Point Threshold
Idea hasn't met the 2,500-point review threshold. Give it an upvote or downvote.

APEX: Show error messages in UI triggered by 'After Undelete' trigger

Salesforce Platform, Applications, Sales Force Automation, User Experience, Large Enterprise Ideas, Large Enterprise

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.

Merge Idea · Flag

  • Upvotes
  • Downvotes



from AppExchange


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.