Need to reduce the email notification when at-mentioned and asiggned to both are same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 12:49 AM
Hi All,
I Need to reduce the email notification when at-mentioned and assigned to both are same in the task.
Currently 2 email notification will trigger, when assigned to person and at-mentioned person both are same, I need to reduce the notification to one. Only one notification should trigger that is at-mentioned notification and "${number} has had work notes added" notification should not trigger.
1. Assigned Catalog Task Worknoted
2. Activity Stream @Mention Email
Note: "Activity Stream @Mention Email" this notification is applicable to all the tables in servicenow when user mentioned the @User email will trigger.
If assignee to person and at-mention both are different two email notification will trigger for the task.
Here I need to do the modification on the " Assigned Catalog Task Worknoted" notification, because If I do the changes on the "Activity Stream @Mention Email" notification it will effect to other tables in ServiceNow.
Please any one suggest me, how to reduce the email notification if the assignee to person and at-mention both are same.
Thanks,
Vinuth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 10:36 PM
You can achieve this by 2 ways:
First:
Write a BR on sys_email and abort on the emails based on your condition.
Second: Enable the Allow digest on the notification and ask your user to update their preference for the notifications to be received.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 12:28 AM
Hi @Abhit
I tried with the BR, like below
I have changed in the notification like this
Added the conditions in the Business Rule like below. I wrote the Business Rule on the sc_task table. Using when condition as before update.
Script;
This script is working fine for some scenarios but If I had some work notes without mentioning any person at that time email will not triggering to the assigned to person.
Please any one suggest me, how to reduce the email notification if the assignee to person and at-mention both are same.
Thanks,
Vinuth