- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 01:02 AM
Hi All,
We have a list of 700 email address shared and we need to block them to trigger inbound and create ticket is ServiceNow, please help how we can achieve this as on condition level is we update recipients its 700 plus mail id we need to restrict.
Any feedback on the same is highly appreciable.
Thanks
Karan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 01:26 AM
You can store the data as below array in your inbound action
var blockEmails = ["abc","pqr","mno"];
if(blockEmails.indexOf(email.from) != -1){
return;
}
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 01:11 AM
@Kaustubh k You can use Email Address Filters to restrict email addresses.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0869547
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 09:11 PM
@Kaustubh k Did you get the solution? Please update with correct response to close this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 01:26 AM
You can store the data as below array in your inbound action
var blockEmails = ["abc","pqr","mno"];
if(blockEmails.indexOf(email.from) != -1){
return;
}
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.