Email notification when comments added
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2025 10:44 PM
I want to implement a functionality where an email notification is dynamically sent to two assignment groups based on the location selected in the Service Portal form. For example, if Location A is selected and the task is assigned to Assignment Group A, an email should be sent to all members of that group whenever additional comments are added to the task. Similarly, if Location B is selected and the task is assigned to Assignment Group B, the notification should be sent to its respective members.
Any help would be much appreciated
Thanks in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2025 02:44 AM
when should email be sent?
You can use flow on task table with Condition as Record Updated and Assignment Group is not empty
In that check what's the location and use "Send Email" flow action to send email
what challenge did you face with this approach?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2025 09:38 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2025 02:59 AM
You can create a before/after business rule on required table with condition as additional comment changes, then trigger an event in script something like below:
gs.eventQueue("task.additional_comment_added", current, current.assignment_group, current.location);
Then use this event in the notification.
Please mark correct/helpful if this helps you.