Creating Duplicate Approval Emails

Community Alums
Not applicable

Hello Team,

 

I'm trying to send the approval emails to all the group members when a record created on sysapproval table but I am seeing duplicate emails are going to all the users in group, for example if a group has 3 users all the 3 users are getting 3 approval email instated of 1.

prudhvirajy_0-1745469949466.png

Please let me know how can I fix the duplicate email issue

1 ACCEPTED SOLUTION

@Community Alums 

you simply create your own email notification on sysapproval_approver with everything as same like OOTB

Just add your condition, add your email body email script etc

Also in Whom to send keep the approver -> don't give any group etc

Since when you set group approval, system will anyhow create those many approval records based on group members

AnkurBawiskar_0-1745474973452.png

 

AnkurBawiskar_1-1745474983673.png

 

AnkurBawiskar_2-1745474996929.png

 

I believe I have answered your question

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

@Community Alums 

why are you triggering your email on approval insert?

Because you are doing this it's creating 2 emails

Why not use the OOTB approval email?

Do you want to use specific content in approval email and hence you created your own notification on approval insert?

1) If yes then ensure the OOTB approval insert email doesn't trigger for your source table, add this in condition field source table != 'srcTask Table'

2) Also the newly created approval insert email ensure it doesn't trigger for other table, add this in condition field source table == 'srcTask Table'

AnkurBawiskar_0-1745473275064.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

@Ankur Bawiskar 

Yes, I need to display few other things on the approval email since I have created my own Email.

When I change the values on the "whom to send" tab to a specific user then a single email is getting sent but when I give the assignment group it's sending multiple emails to users is this something need to be done with assignment group?

@Community Alums 

you simply create your own email notification on sysapproval_approver with everything as same like OOTB

Just add your condition, add your email body email script etc

Also in Whom to send keep the approver -> don't give any group etc

Since when you set group approval, system will anyhow create those many approval records based on group members

AnkurBawiskar_0-1745474973452.png

 

AnkurBawiskar_1-1745474983673.png

 

AnkurBawiskar_2-1745474996929.png

 

I believe I have answered your question

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

Thanks @Ankur Bawiskar 

That worked