---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# 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:{#c_StateFlowCleanup__table_qvn_t2l_cp__entry__2}

| Element | Deleted When |
|-|-|
| UI action Business rule Dictionary override | 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]

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

* [Use state flows](https://servicenow-prod.fluidtopics.net/o~oi~5T0AtrX2iNuOkOafw "You can create custom state flows for any table that uses states.")  
**Zugehörige Tasks**   

* [Create a state flow](https://servicenow-prod.fluidtopics.net/3vrxlOi0kymCZVFVY8UB5A "Creating State Flows.")

