How to mark a received email as "received-ignored" using Inbound Email Action

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2017 05:28 AM
We created a custom Inbound Email Action that determines if an email sent directly to our instance email is from set of users allowed to create an incident directly via email. Users not part of this will not receive anything as such we need to mark the email received as "received-ignored" type. How can we implement this, currently I tried using current.type = "received-ignored"; current.update(); but it inserts a new record on email logs instead of updating the received email.
We also need to write a message on the email log so that when you view the email log, there is note on what the inbound action did.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2017 11:10 AM
The inbound action needs to be skipped and the email should be marked as ignored. Check out the script example here How to mark a received email as "received-ignored" using Inbound Email Action named Prevent Ticket Creation Based on Phrase.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2017 06:33 PM
Hi Michael,
The link in your post points this post.
Perhaps you meant to post this link?
Prevent Ticket Creation Based on Phrase - ServiceNow Wiki
If the reply was informational, please like, mark as helpful or mark as correct!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2017 06:57 PM
Dooh! Thanks for backing me!