---
sourceDocument: Australia Public Sector
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/government-industry

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Public Sector

ft:clusterId :

    - gvin

bundleId :

    - gvin

workflow :

    - Customer and Industry


---

# Configure auto-cancellation for draft cases

# Configure automatic cancellation for draft cases in Social Benefits Playbook {#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

An admin can configure auto-cancellation of Social Benefits Playbook cases that remain in the draft state for longer than a set period of time. The number of days that the case can remain in the draft state before it is canceled can be configured by an
admin. The default value is five days.

## Por Que e Quando Desempenhar Esta Tarefa

## Antes de Iniciar

Role required: admin

## Procedimento

1. Navigate to AllSystem UIScript Includes and search for the `SocialBenefitsConstants` record.
2. Select the record to open it.
3. **Opcional:** Switch to the Social Benefits Playbook application to edit the record, if prompted.
4. Locate the `SocialBenefitsConstants.SOCIAL_BENEFITS_MODELS_ARRAY = [` function in the script.
5. Open a separate tab in your instance.
6. In the navigation bar, enter `cmdb_model.list` to display a list of all product models in Public Sector Digital Services playbooks.
7. Right-click on the name of the desired product model record in the Social Benefits Playbook, and in the context menu, select Copy sys_id.  
   For example, to close all draft applications submitted for Unemployment Insurance, right click the Unemployment Insurance record and copy the sys_id.
8. Paste the copied sys_id(s) into the `SocialBenefitsConstants.SOCIAL_BENEFITS_MODELS_ARRAY = [` function, adding more as needed.
9. Right click on the top menu bar, and in the context menu, select Save.
10. **Opcional:** Navigate to AllSystem PropertiesAll and search for the `sn_gsm_soc_bnfts.sb_cancel_draft_state` record.
11. **Opcional:** Switch to the Social Benefits Playbook application to edit the record, if prompted.
12. **Opcional:** Change the number in the Value field to set the number of days that a case can remain in the draft state before cancellation, and select Update.

## Resultado

The Social Benefits Playbook is now configured to auto-cancel any draft cases that have remained in the draft state for more than `X` number of days.

