{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":36720,"path":"operational-technology/operational-technology-incident-management/assignment-rule-form-ot-inc.md","title":"Assignment rule form","bundle":null,"doc_type":null,"release":"australia","body":"\n# Assignment rule form\n\nAssignment rules automatically assign an Operational Technology \\(OT\\) incident to a group or user according to one or more conditions in the assignment rule.\n\nThe following table describes the field values for the Assignment rule form.\n\n<table id=\"table_avd_2sh_fq\"><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\nDescriptive name for the assignment rule.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nOption to activate the assignment rule.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nApplies to\n\n</td></tr><tr><td>\n\nTable\n\n</td><td>\n\nTable with the records that the assignment rule applies to.\n\n**Note:** For assignment rules that are specific to OT incidents, set the Table field to **Operational Technology Incident \\[sn\\_ot\\_incident\\]**.\n\n The list shows only the 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 and to make sure that the assignment rule works properly, you must clear the instance cache by navigating to https://&lt;instance\\_name&gt;.service-now.com/cache.do.\n\n **Important:** Clearing the system cache can affect the overall performance and may degrade the system response times. Don’t run cache flushes during business hours, and don’t trigger cache flushes to run automatically.\n\n</td></tr><tr><td>\n\nConditions\n\n</td><td>\n\nConditions under which the assignment rule applies.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nAssign to\n\n</td></tr><tr><td>\n\nUser\n\n</td><td>\n\nUser that the event is assigned to.\n\n</td></tr><tr><td>\n\nGroup\n\n</td><td>\n\nGroup that the event is assigned to.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nScript\n\n</td></tr><tr><td>\n\nScript\n\n</td><td>\n\nScript to specify the advanced assignment rule functionality. The current.variable\\_pool set of variables is available.**Note:** Make sure that the input in the script is correct and that the input type matches the field type in the Assignment Rule script. For example, if the assignment rule script sets the value of an Integer field, and the value in the script is set to String, the assignment rule may yield unexpected results.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nOptional fields\n\n</td></tr><tr><td>\n\nMatch conditions\n\n</td><td>\n\n-   **Any**\n\nIf any of the conditions are met, the assignment rule applies.\n\n-   **All**\n\nIf all the conditions are met, the assignment rule applies.\n\n\n</td></tr><tr><td>\n\nExecution Order\n\n</td><td>\n\nOrder in which the assignment rule is processed. If the assignment rules conflict, a rule with a lower-order value takes precedence over a rule with a higher value. If the order values are set to the same number, the assignment rule with the first matching condition takes precedence over the others without the first matching condition. Only the first assignment rule with a matching condition runs against a record.\n\n</td></tr></tbody>\n</table>**Parent Topic:**[Operational Technology Incident Management reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/operational-technology/operational-technology-incident-management/oper-tech-incident-management-reference.md)\n\n"}}