Installed with State Model

Several types of components are installed with the State Model.

Tables installed with State Model

State Model adds the following tables.

Table Description
State Model

[sys_state_model]

Defines the name of the state model and which table the state model targets. Also defines the condition for applying the state model to records and any common condition for moving from any state to any other state.
State Model

[sys_state_model]

Defines how each record in the target table transitions to (the enter condition) and/or from (the exit condition) each state predefined for that table.

Roles installed with State Model

State Model adds the following role.

State Model Administrator Description Contains roles
[state_model_admin] Allows users to add, modify, and delete state models for task tables.
  • None

Script includes installed with State Model

State Model adds the following script include.

Script include Description
TableChoiceUtils Utility class to get the choice list of a table field.

Client scripts installed with State Model

State Model adds the following client script.

Client script Table Description
Populate State Choices State Transition

[sys_state_transition]

Populates the State field choices in the targeted record.

Business rules installed with State Model

State Model adds the following business rules.

Business rule Table Description
Set the display value for state State Transition

[sys_state_transition]

Sets the State field value based on the state model for the table.
Set the table to pick choices State Transition

[sys_state_transition]

Caches the State field value from the first table in the hierarchy for further rule processing.