The State Flow Designer allows configuring transitions between the states. In particular, it is used in the practices state models (for example, Incidents State Model, Changes State Models).
You may need to configure transitions for the specified practice (for example, Incidents). For this, you have to create a state model first, and then you can configure transitions.
The state models are stored in the sys_state_model table.
To create a state model, please complete the following steps:
- Navigate to the State Flow Designer → State Models;
- Click New, fill in the form and then click Save.
State model form fields
Field | Description |
---|---|
Name | The displayed model name. |
Table | Choose a table to create a model. |
Description | Description of the state model in a concise manner. |
Condition | Specify a condition if you need to create multiple state models for one table. |
The state model is created.
When you are creating conditions, please keep in mind that for the fields types listed below the following operators are supported:
Field type | Operators |
---|---|
True/False | is | is not |
Choice & Reference | is | is not | is one of | is not one of | is empty | is not empty |
Configuring the transitions
The transitions are stored in the sys_state_transition table.
To configure transitions in existing state model, please complete the following steps:
- Navigate to the State Flow Designer → State Models;
- Click on the state model you need to modify;
- In the Related Lists area, click New;
- Fill in the form, and then click Save.
State Transitions form fields
Field | Description |
---|---|
State model | The state model containing transitions. |
State | The state will be initial for the subsequent transitions. |
Available transitions | Choose the transitions available for the state specified in the State field. |
Description | Description of the transition in a concise manner. |
Autotransition | Turn this checkbox on if you need to enable scheduled automatical state change for the state specified in the State field. |
Auto State | Specify the state to |
Schedule | Specify the schedule to calculate the autotransition date. |
Duration | Specify the duration (in business time, days, hours, etc), after which time the state will change automatically. |