You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

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.

Creating the state model

The state models are stored in the sys_state_model table.

To create a state model, please complete the following steps:

  1. Navigate to the State Flow Designer → State Models;
  2. Click New, fill in the form and then click Save.

State model form fields

FieldDescription
NameThe displayed model name.
TableChoose a table to create a model.
DescriptionDescription of the state model in a concise manner.
ConditionSpecify 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 typeOperators
True/Falseis | is not
Choice & Referenceis | 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:

  1. Navigate to the State Flow Designer → State Models;
  2. Click on the state model you need to modify;
  3. In the Related Lists area, click New;
  4. Fill in the form, and then click Save.

State Transitions form fields

FieldDescription
State modelThe state model containing transitions.
StateThe state will be initial for the subsequent transitions.
Available transitionsChoose the transitions available for the state specified in the State field.
DescriptionDescription of the transition in a concise manner.
AutotransitionSelect this checkbox to enable the scheduled automatic state change for the state specified in the State field. 
Auto StateSpecify the state the record will be automatically transited to.
ScheduleSpecify the schedule to calculate the auto-transition date.
DurationSpecify the duration (in business time, days, hours, and so on), after which time the state will change automatically.

Example of the transitions configured

Consider an example of the transition configured.

The model ITSM Incident for the Incident table exists. And among others, there is the transition:

In this screenshot, the Completed state can change to the Rejected by User. Closed, In Progress and Assigned states. Also, if the state will not change for the three days 8 hours (on an 8-5 weekdays calendar; it's equivalent ten working days 8 hours each), then it will happen automatically.

We can see transitions defined by this model for the Completed state on the incident form.

  • No labels