How to send Notification when record is deleted?

Shaik22
Tera Expert

Hi,

 

How to send notification when user delete the record on alm_transfer_order table and in message body who deleted the record need to mention.Please help me.

4 REPLIES 4

Voona Rohila
Kilo Patron
Kilo Patron

Hi @Shaik22 

  1. Create a event on your table
  2. Create a notification and keep trigger as event is fired.
  3. Then write before delete Business Rule on your table and trigger an event with the current object.

https://www.servicenow.com/community/now-platform-blog/trigger-notification-by-throwing-an-event/ba-...

https://tech.forums.softwareag.com/t/servicenow-email-notification-via-event/237437


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

1.Created event

Shaik22_1-1676445339445.png

2.Created Notification

3.Created BR

Shaik22_2-1676447044993.png

 

But still not working.Notification will be send to To stockroom manager,assistant and From stockroom manager,Assistant bot triggering the notification.Please help me.

 

Hi @Shaik22 

Can you check if event  is triggered or not in Event Log module.

To send it to specific people, you can add them in notification 'whom to send'.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

@Shaik22 The notification created should be triggered when your event is fired.

See image below

jaheerhattiwale_0-1676452780248.png

 

Event name should be your event name.

 

 

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023