---
sourceDocument: Australia Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/service-management-for-the-enterprise

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Service Management

ft:clusterId :

    - sm4e

bundleId :

    - sm4e

workflow :

    - Technology


---

# State flow cleanup

# State flow cleanup {#ariaid-title1}

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

The business rules, client scripts, and UI actions that the system creates
automatically to perform custom transitions exist only while the state flow records that use
them are present.
When all the state flows on a table are deleted, the system attempts to delete any
unnecessary programming elements that were created on that table, using these criteria:  
{#r_StateFlowCleanup__table_p4b_lnb_br__entry__2}

| Element | Deleted When |
|-|-|
| * UI action * Business rule * Dictionary override {#r_StateFlowCleanup__ul_epv_tcc_br} | The state flow that created it is deleted. |
| Business rule that processes events triggered by a state flow | All state flows for the table specified that have events configured are deleted. |
| Client script (onLoad) | All state flows for the table are deleted. |
| Client script (onChange) | All state flows with field controls are deleted. |
| Work notes business rule | All state flows with field controls or work notes are deleted |
[Tabelle : 1. State flow Cleanup]

{#r_StateFlowCleanup__table_p4b_lnb_br}
**Zugehörige Konzepte**   

* [State flow customization](https://servicenow-prod.fluidtopics.net/ACaksdxh3trMHhsxGtFixA "State flows control the sequence in which records transition between states in Service Management applications.")  
**Zugehörige Verweise**   

* [Request states](https://servicenow-prod.fluidtopics.net/a4ifSi9fO_9gft2zrQEOWQ "Service Management requests follow a specific life cycle and move through a series of states, which are displayed in the State field on the request record.")
* [Request task states](https://servicenow-prod.fluidtopics.net/BnstZ1rvvAMQ62Rzwmg8rQ "Like requests, the associated request tasks follow a specific life cycle and move through a series of states, which are displayed in the State field on the task record.")

