Forum Discussion
christopher_gillis
8 years agoCommunity Manager
Hello,
You can use the sample below to determine if an item is being purged from either an onBeforeDelete or an onAfterDelete server event.
// This action can either be "purge" or "delete"
if (this.getAction() == "purge") {
// Handle the case where you are purging
}
Chris
_______________________________________
Christopher Gillis
Aras Labs Software Engineer