- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi there @neelamallik
Not the right way, using GlideEmailOutbound() directly in a Business Rule is not great. The better approach is to queue an event in a Before Delete rule using gs.eventQueue() and then create a Notification triggered by that event. This is the standard ServiceNow method and ensures the email appears correctly under System Mailboxes > Outbound > Sent.
Kind Regards,
Azar
Serivenow Rising Star ⭐
Developer @ KPMG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @neelamallik , Did your requirement got resolved? Where are stuck now?
If this response helped resolve your issue, please consider marking it as Accepted Solution and giving it a thumbs up.
This helps others in the community find useful answers more easily.
Regards,
Saurabh V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @neelamallik , Hope you're doing well, did you got the solution?
If my previous response helped resolve your issue, please consider marking it as Accepted Solution and giving it a thumbs up.
This helps others in the community find useful answers more easily.
Regards,
Saurabh V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @neelamallik
It seems you are using After Delete business rule. The time you are sending notification gs.eventQueue(), that time current object is getting deleted.
So you have to use Before Delete Business Rule in order to get Notification email script work properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
since record is deleted after delete BR won't work
check this link
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! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
