---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/pt-BR/employee-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Add or modify an HR assignment rule

# Add or modify an HR assignment rule {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Assignment rules are used to assign the HR group when it is not assigned from the
catalog item template. You can create HR assignment rules as needed.

## Antes de Iniciar

Role required: sn_hr_core.admin

## Procedimento

1. Navigate to AllHR AdministrationAssignment RulesHR Assignment Rules.
2. Click New.
3. Complete the form.  
   {#t_CreatingAnAssignmentRule__table_bgn_41w_r4__entry__2}{#t_CreatingAnAssignmentRule__ol_execution_order}

   | Field | Description |
   |-|-|
   | Name | Descriptive name for the HR assignment rule. |
   | Execution Order | Order in which the rule processes. Rules with lower-order numbers process first. For example: * The first HR assignment rule has an execution order of 100. * A second HR assignment rule has an execution order of 200. * If a group has members that fit the conditions defined in the first HR assignment rule, it assigns an agent with the least amount of assigned cases. * If the first HR assignment rule cannot find an agent to assign, the second HR assignment rule runs. {#t_CreatingAnAssignmentRule__ul_xt2_1dx_5lb} |
   | Application | Indicates core application scope the assignment rule applies to. |
   | Active | Check box that specifies the rule is in use. |
   | Applies To ||
   | Table | Table with the records that the assignment rule applies to. Default is the HR Task \[hr_task\] table. |
   | Conditions | Conditions in which the assignment rule applies. Nota: When defining conditions like case sensitivity or null values, see API [GlideFilter - Scoped, Global](https://www.servicenow.com/docs/access?context=c_GlideFilterScopedAPI&version=australia&pubname=australia-api-reference&ft:locale=en-US). |
   | Assign To ||
   | User | User to assign to the case when this rule is applied. |
   | Group | Group to assign to the case when this rule is applied. |
   | Script ||
   | Script | Script to define advanced assignment rule functionality. Current.variable_pool set of variables is available. Nota: Two example scripts are provided as a comment. You can modify either script or use the information as a starting point for your own script. Remove the examples when you are finished. |
   [Tabela 1. Assignment Rules form]

   {#t_CreatingAnAssignmentRule__table_bgn_41w_r4}
4. Click Update.

## O que Fazer Depois

After creating the assignment rule, you can test it to verify that it works.
**Conceitos relacionados**   

* [HR Administration](https://www.servicenow.com/docs/lYTVk0VsPXdnaIIfIzrDGg "Administer the Case and Knowledge Management application to improve HR efficiency and make it easier for employees to get the services they need.")

