---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/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


---

# Configure business rule for reassigning tickets

# Configure business rule for reassigning tickets {#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

Configure the business rule for reassigning the tickets.

## Antes de Iniciar

Role required: admin

## Procedimento

1. Navigate to AllSystem DefinitionBusiness Rules.  
2. Click New.
3. On the form, fill in the fields.  

   In the Advanced tab, update the
   Script fields.

   {#business-rule-re-assigning-ticket-itsm__table_gpx_p1z_vqb__entry__2}

   | Field | Description |
   |:-|:-|
   | Name | Name of the business rule |
   | Table | Table to which the ticket should be re-assigned. |
   | Active | Check this box |
   | Advanced | Check this box |
   | Where to run | * When: async * Update: Check this box * Filter Conditions: Apply the filter condition of the reassigning the ticket business rule.Select the fields to which the ticket should be re-assigned. Ex: Assigned to field. {#business-rule-re-assigning-ticket-itsm__ul_tdd_cvz_pnb} |
   | Advanced | Script: Copy and paste the script. Modify the values as required. Update the field name in the <kbd class="ph userinput">assigned_to</kbd> if you are using a different value. var importChatUtils = new sn_tcm_collab_hook.MSTeamsImportChatUtils(); var chatUtil = new sn_tcm_collab_hook.MSTeamsChatUtil(); var azureIds = chatUtil.getAzureIds([current.getValue('assigned_to')]); //Update the assigned_to field if required var credentialAlias = chatUtil.getTeamsChatCredentialsAliasGr(); var chats = importChatUtils.getChatsofADocument(current.sys_id); var azureId = ''; if (azureIds && azureIds.azureUserIds && azureIds.azureUserIds.length > 0) azureId = azureIds.azureUserIds[0]; if(gs.nil(azureId)){ gs.addErrorMessage(gs.getMessage('Invalid Azure Id, cannot add user to Chat')); return; } chats.forEach( function(chat) { importChatUtils.addMemberToChat(chat,azureId,credentialAlias, current.getValue('assigned_to')); //Update the assigned_to field if required }); |
   [Tabela 1. Business rule for re assigning ticket]

   {#business-rule-re-assigning-ticket-itsm__table_gpx_p1z_vqb}
4. Click Submit.

