---
sourceDocument: Australia IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/it-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Update the state handler script include

# Update the state handler script include {#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

Update the ChangeRequestStateHandler script include with the new
Complete state.

## Antes de Iniciar

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

The ChangeRequestStateHandler script include defines the states
available for the Change Request state model.

## Procedimento

1. Navigate to AllSystem DefinitionScript Includes.
2. Open the ChangeRequestStateHandler script include and modify the script as follows.  
   1. Add the following line to the top of the script in the Constants section:

          ChangeRequestStateHandler.COMPLETE = "complete";

   2. Add the following line as the last line of the function in the <var class="keyword varname">Initialize</var> function:

          this.STATE_NAMES["-6"] = ChangeRequestStateHandler.COMPLETE;

   {#t_UpdateStateHandlerScriptInclude__ol_nsq_zy1_4v}
3. Click Update.
**Tópico anterior:** [Create an ACL](https://servicenow-prod.fluidtopics.net/t6YR94JvEl7m7PnE1eOJ~A "Create an access control rule (ACL) to prevent the Needs review field from being modified after it has been set.")  
**Próximo tópico:** [Update the state model script include](https://servicenow-prod.fluidtopics.net/68sVQ1A6_fNLBNI2ywZb7w "Update the ChangeRequestStateModel_normal script include to add new functions for the Complete state.")

