- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 09:29 AM
We received a request to create 2 new email address: These email addresses will need to redirect to Service Now and then to the perspective assignment groups.
Any help please how o achieve this?
Anything sent to the email addresses will need to be assigned to prospective assignment groups
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 05:17 PM
It's pretty easy to do.
1 - Setup forward rule on new email to forward all emails to SN.
2 - in your inbound action do something like below
if(email.to.toLowerCase().indexOf('email1@gmail.com') != -1){ //sysid of group that this email address belongs to
current.assignment_group = 'sysid of group for that email';
}else if (email.to.toLowerCase().indexOf('email2@gmail.com') != -1){ //other group sysid
current.assignment_group = 'sysid of group for that email';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 04:13 PM
With this script where am I specifying that parse those incoming emails sent to those specific groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 04:42 PM
what would be the condtion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 12:07 PM
1. Create an Inbound email action
2. Add conditions like the subject or email address
3. In actions Set the fields that must be added to the incident.
Create a User with the same email address
Go to Assignment rules and create new. You can create multiple assignment rules and route to different teams based on the subject and body
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 12:49 PM
Is there a way I can test this? So when creating the inbound action , no scripts is required ? just putting the condition? and creating an assignment rule ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 01:42 PM
Yes. To test it.
1. You can give your email id(UserID.Email) for When to run condition in Inbound Email action.
2. Add Caller is "Your UserID" in Assignment Rule
3.Send an email to Service-now and check if incident is created.