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

 Release :

    - australia

ft:locale :

    - de-DE

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}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Update the ChangeRequestStateHandler script include with the new
Complete state.

## Vorbereitungen

Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

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

## Prozedur

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.
**Vorheriges Thema:** [Create an ACL](https://servicenow-prod.fluidtopics.net/I0OuXw4KfQ5vwvSxBD9ahw "Create an access control rule (ACL) to prevent the Needs review field from being modified after it has been set.")  
**Nächstes Thema:** [Update the state model script include](https://servicenow-prod.fluidtopics.net/BtqY0XplHc3lZtv6mS55Kg "Update the ChangeRequestStateModel_normal script include to add new functions for the Complete state.")

