Different weight in notification but sometimes its send both somtimes send ignored.

Jeck Manalo
Tera Guru

Hello,

 

Im wondering why the email still sent both even they are different weight.

In this photo below the RITM011487 is correct while the RITM011488 is still sent both even they are different notification weight.

 

What can cause this problem ?

 

JecksonManalo_0-1699938516368.png

 

1 ACCEPTED SOLUTION

1st notif weight is 50

2nd is 10.

 

I think I already found a solution for this. I do system property instead of using weight so that the one notification will not be sent already.

 

var approvalrequest = gs.getProperty('vsh.approvalrequest.exception').split(',');
answer = true;
for (var i in approvalrequest){
if (approvalrequest[i] == current.sysapproval.cat_item)
answer = false;
}

View solution in original post

9 REPLIES 9

AshishKM
Kilo Patron
Kilo Patron

Hi @Jeck Manalo ,

As the email subject line looks different, please check the notification of both the emails and trigger condition applied on RITM table.

Are you expecting only 1 notification per RITM then disable the other one. 
What’s meaning of “weight” here ? 

 

-Thanks,

Ashish

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

actually there is a 2 notification.

1st notification is general to all approval for catalogs

2nd notification is the created only for this catalog that is why I input higher weight so that it will ignore the other one. 

 

As you can see on the screenshot the RITM011487  is the correct one then sometimes it still sent both which is not correct.

Hi @Jeck Manalo,

Refer the below KB article on notification weight. 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0829694#:~:text=Email%20notif...

 

-Thanks

Ashish


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Thanks for this but still wondering why sometimes they sending both.

as per info the higher weight with same table/recipient will be the only 1 that will be send and the lower weight will be ignored which is im getting problem right now because sometimes they send both sometimes they are correct.