Assignment rule to assign based on User's email domain.

Wesley Breshear
Tera Expert

Hello,

Needing help with 'Assignment Lookup Rules' and 'Assignments' for Incidents.  We are using 'Assignment Lookup Rules' to assign Incidents based on Category and Subcategory.  But there is now a need to redirect about 10% of tickets based on the 'caller_id.email' if it contains a specific company's email address (e.g., @acme-widgets.com) and then assign to a different support team.  The 'Assignment Lookup Rules' only uses the Category, Subcategory, and Location fields to determine the Assignment Group and/or Assigned To value(s).  These rules a very useful for our Service Desk when they create/open an Incident ticket because the Assignment Group/Assigned To is determined for them based on-the-fly when Category and Subcategory selections are made.  So we really can't disable these and just go directly with 'Assignment' rules, we also made the Assignment Group mandatory; makes for another reason we need to use them.  So is there a way to blank out and replace or overite the existing Assignment Group value and replace with another assignment group when the Incident is submitted?  Basically, override what was determined by Assignment Lookup Rule because the next rule has more conditions in determining who the Incident should be assigned to.

I tried creating an 'Assignment' rule that looks at Category and Subcategory and if the caller_id.email contains a specific company name, it works if the 'Assignment Lookup Rule' is disabled.  But if it is left active, after submission of the Incident record the Assignment Lookup Rule takes precedence and my 'Assignment' rule doesn't change the Assignment Group from what is specified in the 'Assignment Lookup Rule'.  Any ideas on how this can be achieved?

find_real_file.png

find_real_file.png

find_real_file.png

Thank you,

-Wesley

8 REPLIES 8

Ct111
Tera Sage

Can you send the snapshots of wat you have done , so that I will be able to pinpoint the issue in better way.

Added some attachments.

Nikhil Dixit
Giga Expert

Hi Wesley,

 

Please go through with the following links. I believe it will be helpful for you.

https://www.servicenowguru.com/system-definition/assignment-rule-lookup/

https://community.servicenow.com/community?id=community_question&sys_id=3d7b0361db9cdbc01dcaf3231f961989

Please mark post as Corrected and Helpful.

-- 

Warm Regards

Nikhil Dixit

Engineer

t

Board Line +91-20-6728-5000  | Direct +91-20-6728-5000 | Mobile +91-7828220937

www.DxSherpa.com | Skype : nnikkhil2709dixit |

gunnergraves
Giga Expert

Hi Wesley,

 

This may be more configruation than you want to do, but you could add a hidden reference field on the Incident table that contained the email suffix you are keying on, then add that field to the Matcher Field Definitions and then link that to a new email suffix field on your Matcher Table.  

Once this was setup, you could create a record in the Lookup table with only the email suffix and assignment group populated, then order it very low so it fires first.  

I wrote this very quickly.  Let me know if that doesn't make sense!