Possible to trigger notification when a record is deleted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 05:03 PM
Greetings, people.
I have a question: Is it possible to trigger an e-mail notification when a record is deleted from a table? Case in point, the table in question is a custom table, and all the records are created manually.
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 09:33 PM
Hi @C_dric Chen the below post might help your query
Thank You
Please Hit Like, Helpful or Correct depending on the impact of response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 09:36 PM
Hi there,
An approach could be a Business Rule with delete=true which creates an Event. Than have a Notification which has Send when Event is fired.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 10:18 PM
Hi,
You can follow below step to send notification when record deleted.
Create a Business Rule: In the Business Rule script, add code to check if the record is being deleted. You can use the gs.isInsert() or gs.isUpdate() methods to determine if the record is being deleted. If it is, you can proceed with sending the email notification.
Send the email notification: In the Business Rule script, use the gs.eventQueue or GlideEmailOutbound.send() methods to send the email notification. You can define the email content, recipients, subject, and other details as per your requirements.
Please mark helpful
Mzhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 09:57 AM
Hello.
Thank you very much for your response. Would you mind going a bit further into the details? I'll still pretty much a n00b and I would be grateful for some step-by-step tutorials.
Thank you.