0

Can anyone confirm if the before delete with trigger.old is not firing/working on attachments. I do have a before trigger which is not firing.

trigger deletionPrevention on Attachment (before delete) 
{
  for ( Attachment currAtt : trigger.old ) { 
    if ( !( isAllowed(currAtt, theUser, allowedUsers) ) ) {..} 
  }
}
RCS
  • 2,110
  • 3
  • 14
  • 24

0 Answers0