I want to send notification when case work notes changes to test something like?
- 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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 01:00 AM
Hi @GOpi21
Create a Business Rule trigger: Work Notes = test
Use a script to trigger an event (create this first in event registry)
gs.eventQueue('<<event_name>>', current, '', '');
Trigger your notification based on that event.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 01:04 AM
Hi Peter,
Thanks for quick response..!
I tried to add condition in business rule but we don't have that option we have only one condition that is work_notes changes.
is there any other way to do that?
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 01:40 AM
Hi @GOpi21
Use changes in that case.
In script use
if (current.work_notes.getJournalEntry(1).indexOf('test') > -1){
gs.eventQueue('<<event_name>>', current, '', '');
}
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 01:26 AM
Hi @GOpi21 ,
you can give condition as work notes changes and in advanced condition use script to check the value is test or not.
If work notes is test then give answer = true;
ServiceNow Community MVP 2024.
Thanks,
Pavankumar