How do i set an inbound action condition for FROM email address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 06:40 PM
How do I set an inbound action condition for FROM email address. The email belongs to an external service and not a servicenow user. When i put something in the From field of the inbound action I get an "invalid reference" error as that field expects a user
What is the best way to do this?
Thank you
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 07:27 PM
Hi,
You can use script in condition field of the inbound action such as:
email.from == 'email@example.com'
This would then only execute this inbound action if the email was from email@example.com.
Also, you can checkout some of the other inbound action email object variables you have access to via documentation as seen here: https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/notification/reference...
And more examples of inbound action settings, like conditions, seen here: https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/notification/reference...
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2022 03:29 PM
Hi Allen,
Very comprehensive reply mate. I would like to talk to you about some ServiceNow work I would like performed, how can I best contact you?
Thank you
Cheers Jake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2022 05:32 PM
Hi,
I'm glad my reply was Helpful.
If it also guided you Correctly, please also mark the reply as Correct.
Thanks and take care! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2023 05:08 PM
Hi @reachjake
I happened to come back across your question posted and wanted to see now that it's been about a year and a half (haha), did my initial reply above help answer your question?
If so, please mark it as "Accept Solution". Thanks and take care!