Don't send email notifications if comment from a certain account

spike
Mega Sage

Does anyone know how I stop email notifications being sent if the comment is from a certain user account?

We've integrated our ServiceNow instance with PagerDuty. Whenever PagerDuty adds a comment (normally relating to a thing that's happened because of the integration) and email is sent out. 

These are standard notations (comments added etc) and I want to go out most of the time. 

I'd like to add a filter that says if the comment is from PagerDuty then don't send it. But I can't seem to find a way to do that.

Has anyone got any idea how I could do that? There's no "Comment from" type field to add as a condition.

Thanks!

4 REPLIES 4

Allen Andreas
Administrator
Administrator

Hi,

In your notification(s) you'd use the condition with something like:

Comments changes

AND

Updated by is pagerduty


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Ha! Brain Fart. Of course..  update by. I was looking for "Comment From" type field. Although a later commenter on this thread indicates there is one, I can't see it. I'll give Updated By a go. Thanks!

Kamva
Giga Guru

Hey @spike,

 

Please add the extra condition that [Comments Upadated By] [is not] [<PagerDuty account>]

 

Kamva_0-1678270880512.png

 

That option is what I was looking for but doesn't seem to exist in my dropdown.