- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 09:11 PM
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 ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 12:15 AM
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;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 09:18 PM - edited 11-13-2023 09:20 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 09:23 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 09:35 PM
Hi @Jeck Manalo,
Refer the below KB article on notification weight.
-Thanks
Ashish
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 09:43 PM
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.