Duplicate email send to the user

Nisha Mishra23
Tera Contributor

There is two same email send at same time to the user. I have checked BR and I have checked notifications as well. Is there anything else which can be done in order to find the bug.

8 REPLIES 8

Okay... so the update is happening on a portal widget. Good information. That's not what's sending the email, though. Did you look in the email log to see what is triggering the email?

Actually the thing is that The update() is being used in order to update the value on one table value and with that it send a email to the user. When I remove the update () from widget code then it does send only one notification but as I need update() in widget on order to update the value on the table variable

JenniferRah
Mega Sage

Check the email log to look at the outgoing emails. At the bottom, it should say what is generating it (Notification, workflow, etc.).

Viraj Hudlikar
Giga Sage

@Nisha Mishra23 

To address this issue, we can consider the following steps:

  1. Review Email Notification Setup: Ensure that the email notification is set up correctly. In ServiceNow, go to System Notification > Email > Notifications and review the conditions and settings of the specific notification.

  2. Check Business Rules or Scripts: Sometimes, duplicate emails are caused by business rules or scripts triggering the same notification more than once. Verify any business rules or scripts associated with the process that sends this email.

  3. Inspect Email Logs: ServiceNow provides email logs that can help you trace the email sending process. Go to System Logs > Email Logs to see if the email is being sent multiple times and identify the cause.

  4. Evaluate Workflow (if applicable): If a workflow is involved in triggering the email, ensure that the workflow is designed correctly and is not looping or triggering the email notification more than once.

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.