Installed with state flows
Several types of components are installed with state flows.
Parent Topic:State flows
Tables installed with state flows
Tables are added with state flows.
| Table | Description |
|---|---|
| State Flow [sf_state_flow] | Contains state flow definitions. This table contains all state flow definitions, including those for work orders and work order tasks. |
| Work Order Flow [sf_work_order] | Contains state flow definitions for work orders. This table is installed when Field Service Management is activated. |
| Work Task Flow [sf_work_task] | Contains state flow definitions for work order tasks. This table is installed when Field Service Management is activated. |
Business rules installed with state flows
Business rules are added with state flows.
|
Business rule |
Table |
Description |
|---|---|---|
|
Assert Field Uniqueness in State Flow |
State Flow [sf_state_flow] |
Ensures that business rules and UI actions are not accidentally copied to new state flows. |
|
Check Client Script |
State Flow [sf_state_flow] |
Adds a client script to new records. |
|
Check Event Rule |
State Flow [sf_state_flow] |
Adds or deletes event rules, as the event field is updated. |
|
Check Work Notes Rule |
State Flow [sf_state_flow] |
Adds or deletes work note rules, as the work notes for a state flow are updated. |
|
Create Business Rule |
State Flow [sf_state_flow] |
Automatically creates a business rule when automatic conditions or script are present. |
|
Create script for Field controls |
State Flow [sf_state_flow] |
Create scripts for field controls, when they are in use. |
|
Create UI Action |
State Flow [sf_state_flow] |
Automatically creates a UI action when manual conditions or script are filled in. |
|
Delete Related Elements |
State Flow [sf_state_flow] |
When state flows are deleted, delete all related client scripts, business rules, UI actions and overrides. |
|
Remove script for Field controls |
State Flow [sf_state_flow] |
If all field controls are disabled, see if any of the client scripts should be removed. |
|
State Change |
State Flow [sf_state_flow] |
Get the correct state choice value when the state is changed. |
|
Update dependent records |
State Flow [sf_state_flow] |
When a state flow is made active or inactive, ensure the business rule and UI actions are made active or inactive as well. |
Script includes are added with state flows.
| Script include | Description |
|---|---|
| StateFlow | Implements state flows and supports creation of state flow elements, such as business rules, UI actions, dictionary overrides, and client scripts. |
| StateFlowAJAX | Allows access to state flow functionality from client scripts. |
--- title: Installed with state flows description: Several types of components are installed with state flows.Tables are added with state flows.Business rules are added with state flows.Script includes are added with state flows. locale: en-US canonical_url: https://www.servicenow.com/docs/r/servicenow-platform/r\_InstalledWithStateFlows.html release: brazil topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 2 breadcrumb: [State flows, Exploring Service Administration, Service Administration, Manage service capabilities, Extend ServiceNow AI Platform capabilities] --- # Installed with state flows Several types of components are installed with state flows. **Parent Topic:**[State flows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/c_StateFlows.md) ## Tables installed with state flows Tables are added with state flows. |Table|Description| |-----|-----------| |State Flow \[sf\_state\_flow\]|Contains state flow definitions. This table contains all state flow definitions, including those for work orders and work order tasks.| |Work Order Flow \[sf\_work\_order\]|Contains state flow definitions for work orders. This table is installed when Field Service Management is activated.| |Work Task Flow \[sf\_work\_task\]|Contains state flow definitions for work order tasks. This table is installed when Field Service Management is activated.| ## Business rules installed with state flows Business rules are added with state flows. <table id="table_BusinessRules"><thead><tr><th> Business rule </th><th> Table </th><th> Description </th></tr></thead><tbody><tr><td> Assert Field Uniqueness in State Flow </td><td> State Flow \[sf\_state\_flow\] </td><td> Ensures that business rules and UI actions are not accidentally copied to new state flows. </td></tr><tr><td> Check Client Script </td><td> State Flow \[sf\_state\_flow\] </td><td> Adds a client script to new records. </td></tr><tr><td> Check Event Rule </td><td> State Flow \[sf\_state\_flow\] </td><td> Adds or deletes event rules, as the event field is updated. </td></tr><tr><td> Check Work Notes Rule </td><td> State Flow \[sf\_state\_flow\] </td><td> Adds or deletes work note rules, as the work notes for a state flow are updated. </td></tr><tr><td> Create Business Rule </td><td> State Flow \[sf\_state\_flow\] </td><td> Automatically creates a business rule when automatic conditions or script are present. </td></tr><tr><td> Create script for Field controls </td><td> State Flow \[sf\_state\_flow\] </td><td> Create scripts for field controls, when they are in use. </td></tr><tr><td> Create UI Action </td><td> State Flow \[sf\_state\_flow\] </td><td> Automatically creates a UI action when manual conditions or script are filled in. </td></tr><tr><td> Delete Related Elements </td><td> State Flow \[sf\_state\_flow\] </td><td> When state flows are deleted, delete all related client scripts, business rules, UI actions and overrides. </td></tr><tr><td> Remove script for Field controls </td><td> State Flow \[sf\_state\_flow\] </td><td> If all field controls are disabled, see if any of the client scripts should be removed. </td></tr><tr><td> State Change </td><td> State Flow \[sf\_state\_flow\] </td><td> Get the correct state choice value when the state is changed. </td></tr><tr><td> Update dependent records </td><td> State Flow \[sf\_state\_flow\] </td><td> When a state flow is made active or inactive, ensure the business rule and UI actions are made active or inactive as well. </td></tr></tbody> </table>## Script includes installed with state flows Script includes are added with state flows. |Script include|Description| |--------------|-----------| |StateFlow|Implements state flows and supports creation of state flow elements, such as business rules, UI actions, dictionary overrides, and client scripts.| |StateFlowAJAX|Allows access to state flow functionality from client scripts.|
| title | Installed with state flows |
| description | Several types of components are installed with state flows.Tables are added with state flows.Business rules are added with state flows.Script includes are added with state flows. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/servicenow-platform/r\_InstalledWithStateFlows.html |
| release | brazil |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | State flowsExploring Service AdministrationService AdministrationManage service capabilitiesExtend ServiceNow AI Platform capabilities |