{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":7334,"path":"customer-service-management/t_CreateAnAssignmentRule.md","title":"Create an assignment rule for case routing","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create an assignment rule for case routing\n\nCreate a rule that assigns those cases that meet the matching rule criteria to a customer service agent.\n\n## Before you begin\n\nRole required: assignment\\_rule\\_admin\n\n## Procedure\n\n1.  Open the desired matching rule.\n\n2.  Select the **Create assignment rule** related link.\n\n    You can also create an assignment rule by navigating to **Routing and Assignment** &gt; **Assignment Rule** and selecting **New**.\n\n3.  Fill in the fields on the Assignment Rule form.\n\n<table id=\"table_czw_ftc_acm\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nName\n\n</td><td>\n\nThe name of the assignment rule.\n\n</td></tr><tr><td>\n\nApplication\n\n</td><td>\n\nThe name of the application to which this assignment rule belongs. The default application is **Global**.\n\n</td></tr><tr><td>\n\nOrder\n\n</td><td>\n\nThe order in which this assignment rule is executed. Similar to business rules, assignment rules are processed based on execution order, from the lowest to the highest.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nEnable this check box to activate the matching rule. Only active assignment rules take effect.\n\n</td></tr><tr><td class=\"subhead\" colspan=\"2\">\n\nApplies To\n\n</td></tr><tr><td>\n\nTable\n\n</td><td>\n\nThe table that stores the task for which the assignment rule is being created. This list shows only those tables and database views that are in the same scope as the assignment rule. If you select a custom table that extends the task table, you must clear the instance cache by navigating to `https://<instance_name>.service-now.com/cache.do` in order for the assignment rule to work.\n\n**Warning:** Clearing the system cache can affect overall performance, and degrade system response times. Don’t run cache flushes during business hours, and don’t trigger cache flushes automatically.\n\n</td></tr><tr><td>\n\nConditions\n\n</td><td>\n\nThe conditions in which the assignment rule will apply.Use the buttons in this field to build one or more conditions on the selected table. A condition is made up of a selected field, an operator, and a value. Add conditions using the **AND** and **OR** buttons. Delete conditions by selecting the **X** to the right of a condition.\n\n</td></tr><tr><td class=\"subhead\" colspan=\"2\">\n\nAssign To\n\n</td></tr><tr><td>\n\nUser\n\n</td><td>\n\nThe user to be assigned to the task.\n\n</td></tr><tr><td>\n\nGroup\n\n</td><td>\n\nThe assignment group to be assigned to the task.\n\n</td></tr><tr><td class=\"subhead\" colspan=\"2\">\n\nScript\n\n</td></tr><tr><td>\n\nScript\n\n</td><td>\n\nA script to determine advanced assignment rule functionality. Scripts provide access to current.variable\\_pool variables.\n\n</td></tr></tbody>\n</table>4.  Select **Update**.\n\n\n**Related topics**  \n\n\n[Define assignment rules](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/c_DefineAssignmentRules.md)\n\n"}}