- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Can you send notifications in ServiceNow without creating a notification record in the notification table?
that's right, with the "GlideEmailOutbound()" method, you can send email notifications directly from your script without additional records.
Here's an example code
var email = new GlideEmailOutbound();
email.setSubject('New Task Assigned');
email.setBody('A new task has been assigned to you.');
email.addRecipient('xyz@example.com');
email.save();
If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL
Best Regards,
Prashant Kumar (LearnIT)
YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant
Blog LearnIT: https://medium.com/@LearnITbyPrashant
Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/
ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
