Why is my email notification getting sent twice?

Kevin Recio1
Mega Contributor

I have a simple notification based on a change being a specific state (Review). When a change enters this state, I want an email fired off to a user in a specified field.

Here are my conditions for this notification:

find_real_file.png

find_real_file.png

find_real_file.png

When I make this event happen, the logs show that two emails were sent at the exact same time:

find_real_file.png

How can I prevent this duplication?

3 REPLIES 3

Mike Patel
Tera Sage

Most likely you have another business rule that is doing current.update(). check business rule on that table.

Jaspal Singh
Mega Patron
Mega Patron

Hi Kevin,

 

Since the notification is triggered on update it seems the record is getting updated twice. In this case you can try using Events.

Also, you can try by adding a some value in weight field on the notification.

 

Thanks,

Jaspal Singh

 

 

Hit Helpful or Correct on the impact of response.

johnfeist
Mega Sage
Mega Sage

Hi Kevin,

Check al of your notifications on that table.  What often happens is that there are two notifications triggered by the same insert/update action as Mike described.  What can also happen is that somewhere you have a BR or script firing an event that is triggering one of the emails.

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster