Update the state handler script include

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 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 All > System Definition > Script 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 Initialize function:
        this.STATE_NAMES["-6"] = ChangeRequestStateHandler.COMPLETE;
      Modified script
    3. Click Update.