Email notification for additional comments

Alice121
Tera Contributor

Hi all,

I have set up an email notification for when tickets/Cases/incidents etc are updated however, I am now having an issue that the person who makes the additional comment are also receiving an email notification, not just the contact on the ticket or the rest of the assignment group...

 

Do you have any ideas in how I stop the person making the comment receive an email for their own comment? 

 

I'm assuming it will just be a change to the filter conditions? 

1 REPLY 1

J_31
Kilo Sage

Add this script to the notification record you created 

gs.eventType == 'comment.added' && gs.getUserID() != current.comments.last().getValue('sys_created_by')