Same notification with same recipients is triggered twice

Kumar38
Kilo Sage

I have a BR on RITM table that triggers when comments change , script has a event and is used in notification with weight 10. When a approval is rejected with a comment (a different script copies the comments to RITM) ,the comment change BR is triggered twice , one for Approval approval/rejection comment , 1 for RITM cancel comment.

 

This is causing duplicate notifications (from same notification)  . Wouldn't system ignore one of them as they are generated at same time ?

 

I tried commenting out current.update in other BRs. But Issue still exists

12 REPLIES 12

Murthy Ch
Giga Sage

Hi @Kumar38 

I have a BR on RITM table that triggers when comments change , script has a event and is used in notification with weight 10.

For the above notification you can add one more condition like approval is not rejected so then it will be triggered only when comment changes with approval is not rejected.

 

Thanks,
Murthy

It throws a error when I try to modify condition on notification , as it is a event driven notification .

The Issue is After Cancellation , if the workflow has additional steps apart from Set Values in the workflow.

The script might not trigger when comment changes.

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
You can check the field "approval" on task extended table on which approval is triggered.
IF IT IS "rejected" then only fire the event not otherwise.

 

 


Thanks and Regards,

Saurabh Gupta

In that case ,As we need notification for any comment unless they happen within a second,   should it be a different script , triggering same notification in case of comments apart from rejection. Would that stop the duplicate notification?