Activity Forums Salesforce® Discussions Why we cannot use adderror statement in 'afterdelete' operation in Salesforce Triggers? Reply To: Why we cannot use adderror statement in 'afterdelete' operation in Salesforce Triggers?

  • shariq

    Member
    September 19, 2018 at 1:07 am

    Hi,

    As after delete works when record is removed from database and addError works on that record(any custom validation) so when record is removed, there will be no use of addError functionality.

     

     

    Hope this helps.