Installed with state flows
Several types of components are installed with 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 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. |