Email notification on record deletion from a custom table

anu62472744
Mega Contributor

Greetings, people.

Question:

Is it possible to trigger an email notification when a record is deleted from a table in ServiceNow?

Use case:
The table in question is a custom table, and all records are created manually. Whenever a record is deleted, I want to send an email notification (for example, to the caller or another user).

Steps I have tried so far:

  • Created a new Event Registry (for example: shipping.case.delete).

  • Created a new Email Notification and configured it to send when → Event Fired, using the above event.

  • Created a Before Business Rule on the custom table with Delete = true and added the following script:

           gs.eventQueue('shipping.case.delete', null, '', '');

 

 

Issue / Question:

Despite the above setup, the email notification is not being triggered when the record is deleted.

  • Is this the correct approach for sending email notifications on record deletion?

  • Are there any limitations with delete actions that prevent notifications from firing?

  • Is there a best practice or recommended alternative (Business Rule vs Notification vs Flow Designer) for handling emails on delete?

Any guidance or working examples would be greatly appreciated.

 

Thanks in advance!

1 REPLY 1

Ankur Bawiskar
Tera Patron

@anu62472744 

check this

How to Properly Send an Email Notification When a Record Is Deleted in ServiceNow 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader