Notification not sent due to invalid entry in cmn_notif_device

Tamil5
Tera Expert

Hi All,

The issue is,

some users are reporting that, they are not receiving response notifications from few incidents.

When I have checked in the sys_email table and below is the log entry for that,

It shows, notification excluded the recipient because user's device contains an empty or invalid email address (see cmn_notif_device.email_address)...

Flaka Pira issue - Copy.png

Here the problem is,

User sent email from their personal email (firstname_name@hotmail.com), but the same user have profile in Servicenow & the email address is firstnamelastname@<<abccompany>>.com

I think system is just mapping the user's first name,last name & comparing the email address in cmn_notifi_device while sending notification.

In my instance, sys_user table records populated by AD LDAP on a daily basis.

For this user, it contains registered email address firstnamelastname@<<abccompany>>.com (both sys_user & cmn_notif_device.email_address is same)

But user sent email from firstname_name@hotmail.com & system identified the user as Guest and created incident.

Then it suppose to send the incident created notification to user's hotmail address.

Since it is comparing with registered email & it considered it as an invalid email and not sending notification.

I have searched a lot for this issue found same suggestion in all pages (below 2 page contains detailed info),

Handling Multiple Email Addresses per User

https://fruitionpartners.eu/blog/2016/08/10/notifications-not-correctly-sent-end-users/

But the scenario which I'm facing is bit different. My cmn_notif_device table contains proper email.

But user sends email from some other email.

Though system identified the user as Guest & created incident, sender did not receive any notification on the issue they have reported. Its kind of weird

Can anyone suggest me how to solve this issue.

Thanks in advance

Prici

31 REPLIES 31

On the Guest user account, set notification to disable and see what happens:



Screen Shot 2017-07-10 at 10.47.50 AM.png


No luck Michael Fry, still facing same issue.


Ok, so it has nothing to do with Guest account. Must be something in script to add user to watchlist?


Thank you! This fixed my problem after a few hours of troubleshooting notifications not being triggered for a user. On our instance the options are None and Email for that Notification field on the user profile and it wasn't working for a user where this got set to None. Updating to Email fixed the issue.



HI Price,



if you share screen shot of the code you have written to add email to watch list then it would be better to identify where the error/ modification needs to be done.



Regards,


Sadasiva



Please mark helpful/ correct based on the impact