Email notification on record deletion from a custom table

anu62472744
Giga 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!

5 REPLIES 5

Hi Tanushree,
I already tried the above approach the issue is when i delete record from my shipping table, the event fired successfully but in the email log I am not able to find log entry of that notification.