Email Notifications are triggering twice

pramodkumar
Tera Expert

Hello Everyone

I had a requirement to sent email notification once SLA is breached for incident. I need a delay of 30 mins after SLA is breached to send notification. I am achieving it via business rule. I am using gs.eventQueueSchedule in business rule. My condition in business rule is has breached is true and sla definition is my SLA. I had a log statement in business rule and for some reason BR is triggering twice. So same email is sent twice at a time.

Can some one help me on this issue.

Thanks!

11 REPLIES 11

You might have current.update() statement in your BR. This make BR to run over and over again. Please comment it out.


This thread might be hepful


Business Rules Best Practices Part 1 of 2: When to Run Business Rules



Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Also for your Information This is an after update business rule


find_real_file.png


How ever has breached is an check box and it will be true only once after sla is breached. Not sure why BR is triggering twice.




Thanks!


Pramod


Can you share a screenshot of your Advanced section tab of BR



Please mark my response as correct and helpful if it helped solved your question.
-Thanks

HI Prateek



Here is my code



find_real_file.png



Thanks!


JJ1
Kilo Guru

Did you check the SLA workflow ? May be there is an email from the workflow and another one from your business rule .