Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

State flow cleanup

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 a state flow on a table are deleted, the system attempts to delete any unnecessary programming elements that were created on that table, using these criteria:

ElementDeleted When
UI action Business rule Dictionary overrideThe state flow that created it is deleted.
Business rule that processes events triggered by a state flowAll 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 ruleAll state flows with field controls or work notes are deleted.