Forum Discussion
2 Replies
- christopher_gillisCommunity ManagerHello, You can use the sample below to determine if an item is being purged from either an onBeforeDelete or an onAfterDelete server event.
Chris _______________________________________ Christopher Gillis Aras Labs Software Engineer// This action can either be "purge" or "delete" if (this.getAction() == "purge") { // Handle the case where you are purging } - angelaCatalyst IIHi Chris, it works, thanks! I am now even quite happy that there is no separate 'onPurge' Event... With this code, I only have to add a few lines in the Method, instead of writing a completely new one.