Disable Additional Comments notification if user is @mentioned

Sam Jeon
Tera Contributor

We currently have notifications set up for requested items and incidents when additional comments are added.

But we also would like to use the @mention notification that comes OOTB. 

 

Is there a way to disable the Additional comments notification if a user is @mentioned in the comment so that only the @mention notification is sent for that user?

2 REPLIES 2

Arav
Tera Guru
Tera Guru

Hi,

The two notifications are unrelated but you could consider doing the following.

The @mention email is triggered by notification "Activity Stream @Mention Email", which runs when a record is inserted in table "live_notification".

So before sending the additional comment notification for incident / RITM, you could check if a recent record for the same record / user were created in "live_notification" and send / abort the additional comment email accordingly.

Thanks,

Arav

Sam Jeon
Tera Contributor

Hello Arav,

Thank you for the suggestion. But could you elaborate on how I could check if a recent record for the same user was created in "live_notification" and then abort the additional comment notification?