How do I script an email notification to send when specific users comment on a RITM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 06:55 PM
Problem:
I enabled a notification record to be triggered when comments are entered on a RITM.
All notifications are sent to the Service Desk assignment group; however, I want to help reduce the number of notifications that are sent by creating a script to do the following:
- Only send email notifications when comments are entered/added by:
- Event creator > Opened By field
- The person listed on the Requested By field
- Any person listed on the Watch List
- And I DO NOT want any messages to be sent to the Service Desk if a comment is left by a fulfiller (person with an ITIL role)
Below are screenshots of what I have done so far. Thank you in advance for helping me with any scripting; this is not my strong suit. . . yet.
When to send This is where I need the most assistance, particularly with the script based on what I want to achieve.
|
Who will receive
|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 02:48 PM
Thank you @Sid_Takali for these tips!
Please see the update to the use of the code snippet that you provided to me on Sunday.
Re: How do I script an email notification to send ... - ServiceNow Community