The CreatorCon Call for Content is officially open! Get started here.

Outgoing Notification Filters

georgechen
Kilo Guru

Hi folks,

Anyone has an idea on writing action script to restrict non existing user emails sending out from ServiceNow?         I previously raised an article Prevent ServiceNow sends emails to non-existence email users   One way is to set up action script (Navigate to System Mailboxes > Administration > Filters) (see a response below)

Use email filters to restrict non existing user emails through writing action script in this

  • Navigate to System Mailboxes > Administration > Filters.
  • Click New.
  • Complete the fields (see the table).
  • Right-click in the header bar and select Save from the context menu.
    The Filter Actions related list appears.
  • Click New in the related list.
  • Select how the system should react when the conditions of this filter evaluate to true.

however in Fuji there seems no such Filters, and I wonder it has changed to somewhere.

Any input would be appreciated.

Regards,

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

There is a plugin named Email Filters. You have to activate that first, then follow the instructions you provided.


View solution in original post

6 REPLIES 6

Non-existence users may mean


  • User's email address contains NOADDRESS
  • User's email address contains DUPLICATE
  • User's email address is considered as invalid to outgoing SMTP Server, which is not covered in the filter conditions

Email Filters is for inbound emails, not outbound. As for your problems, if user doesn't have email, nothing should be triggering. If users emails are duplicate, ldap or admin problem. There are several ways to deal with those. Email invalid - that's a little hard to catch.