How to stop triggering notification twice when people are same which are from two different tables??

Manikantahere
Tera Contributor

I have a business scenario where i am transfering comments from ritm to sc task and sc task to ritm and need to send notifications to requested for and to the watch list when ritm/sc task comments are updated.

but the problem here it is when it comes to requested for and watch list there is a chances that people may different in watchlist and requested for is same in both levels.

when I commented on ritm as it also updating comments in sc task so two notifications are triggering to requested for saying comments updated.  I need to stop this happening as he is same  for both levels.

even if watchlist is same then it has to send one notification and if it differs has to send two notifications.

need guidance to achieve this??


6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Manikantahere 

 

This is OOTB, as the notification trigger on 2 different tables. User can set the preferences.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Thanks for info Atul, but i didn't understand what do you mean by setting preferences?
I need to stop it happening for same for twice to the same user.

Atul means that users can set their preferences to which notifications they want to receive. In this case you don't want that, because you do need them to receive the info (and not receiving it from the RITM, will also mean you're not receiving other comments).


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Mark Manders
Mega Patron

You can trigger the notification from just the sc_task table and send it to 'user/groups in field' on both the sc_task and dotwalk to the sc_req_item watchlist/assigned to. Even if you are 20 times on both watch lists and you are the assigned to, you will only receive the email once. 

Make your email like 'sc_task, related to sc_req_item for 'opened by' has just received an update. See comment below.'


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark