I want to send notification when case work notes changes to test something like?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 12:47 AM
Hi All,
I want to send notification when case work_notes changes to test?
Can we achieve this?
Thanks,
Ram
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 01:47 AM
Hi @GOpi21
You can get the latest work notes in your Business rule using below Code:
var notes = current.work_notes.getJournalEntry(1);
You can now use this 'notes' variable to check your condition and that trigger email notification using gs.eventQueue() function.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 08:59 AM
Hi, I recommend not creating a notification initiation for each work note change. it will initiate more notifications in the email engine. Try to achieve it differently.
Regards,
Suresh.
Suresh.