Notification sending 5 emails instead of 1? What did I do wrong?

Jeffrey Barton
Tera Contributor

Hello all,

New Notification developer here.  I created the following "notification" that triggers when a checkbox is checked and saved on a form.  It seems to trigger more than one send.  The recipients are getting 4 copies of the original for a total of 5 messages.  The users who check the box (me included in my testing) only check the box and save.

See screen shots. 

On the change table. Category is uncategorized. when record is inserted or updated is the send when. State is authorize and out of band is checked to true is the condition.

I set the who to a 3 people after our CAB reported the duplicates. I did have it set to Groups "Global CAB" for the group instead of individual users.
attached the what it will contain section and the subject.  It's using the change.itil.approve.action.role for the template.

 

Update: it seems to be when it's approved that the mutli-send occurs.  So I tried to write a business rule to uncheck the trigger box but it still sends again when changing state.

 

HELP! I need to stop the duplicates going out. 

2023-08-11_14-13-03.png2023-08-11_14-18-00.png2023-08-11_14-18-18.png

 

1 ACCEPTED SOLUTION

SwarnadeepNandy
Mega Sage

Hi Jeffrey,

 

Try changing the conditions from

State IS Authorize

to

State Changes To  Authorize

 

And maybe the same for the second condition. Depends on your use case.

 

Try to modify the condition to avoid duplication of email trigger

 

Kind Regards,

Swarnadeep Nandy

View solution in original post

1 REPLY 1

SwarnadeepNandy
Mega Sage

Hi Jeffrey,

 

Try changing the conditions from

State IS Authorize

to

State Changes To  Authorize

 

And maybe the same for the second condition. Depends on your use case.

 

Try to modify the condition to avoid duplication of email trigger

 

Kind Regards,

Swarnadeep Nandy