Email notifications are triggering twice.

niveditakumari
Mega Sage

Hello,

I had a requirement to send SLA breach notification for incident. I am achieving it via notification. I have created one notification with condition is sla breached changes to true but i can see in logs same email is sent twice at a time.

Can anyone please help me with this.

 

Regards,

Nivedita

1 ACCEPTED SOLUTION

Josh Virelli
Tera Guru

Hi Nivedita,

You definitely had it correct the first time with the "changes to" true instead of "is" true. We only want this notification to run on the update that changes it to true, not every time it is updated when the condition is true. That would give you more duplicate notifications than you already had LOL!

In your email logs, can you confirm it is the same Notification both times? Maybe you have two different notifications going out? Also check the Event Queue history to see if the event is being triggered twice, that may help you find the answer.

Something else to consider, look at the history of the SLA record to see if that Has Breached field is being changed multiple times from true to false and back to true. Maybe it's an issue in whatever Workflow/Flow Designer/Business Rule is setting that field.

We need to track down what the causation for the duplicates is, as I believe your notification is correct. Let me know what you find, or if you need further guidance.

If my answer was helpful or answered your question, please mark it as 'Helpful' or 'Correct'

Thanks!

Josh 

View solution in original post

21 REPLIES 21

Hi Josh,

Do I need to put some other condition instead of "changes to true"?

Can i put condition as when "Business elapsed percentage is 100 %" then trigger this notification.

 

Regards,

Nivedita

Hi Josh,

I have checked that "Send to event creator" field is true on my notification.

 

Regards,

Nivedita