Email Notification gets triggered twice

vidhya_mouli
Giga Sage

I have a email notification which gets triggered, when the sc_req_item state becomes either closed complete, closed incomplete or closed skipped.

 

1.png

 

This notification gets triggered twice:

vidhya_mouli_1-1699961671423.png

 

When I checked the event log, I notice that the sc_request gets updated twice.

vidhya_mouli_2-1699961732585.png

 

 

Can someone explain why this is happening and how to resolve this?

 

 

1 ACCEPTED SOLUTION

vidhya_mouli
Giga Sage

I managed to solve this. A flow (in sc_req_item table) was updating the State of the sc_request. At the same time a BR was updating the State of the sc_request. This BR had the trigger condition before. I changed this to after and now everything works fine.

View solution in original post

6 REPLIES 6

Jaspal Singh
Mega Patron
Mega Patron

Hi Vidhya,

For the notification change the form view to Advanced view and add a weight value as 10 to the Weight field.

This should avoid multiple emails that are sent for the same.

vidhya_mouli
Giga Sage

I managed to solve this. A flow (in sc_req_item table) was updating the State of the sc_request. At the same time a BR was updating the State of the sc_request. This BR had the trigger condition before. I changed this to after and now everything works fine.