Skip to main content

What is Permitted States and How Are They Used?

Permitted States define which other states a record can transition to from a given state and how these transitions are presented to the user. This ensures that records in the system can only move to predefined states, preventing undesired or erroneous transitions and keeping the process flow under control.


Basic Usage Scenario​

A record (e.g., a work order, asset, or request) can only transition to the Permitted States defined for its current state. This configuration ensures that records progress only according to a pre-approved and controlled flow. Each transition definition includes an action or button name that appears in the user interface. These buttons present the available transitions clearly and intuitively to users, improving user experience and ensuring the process flows according to rules. Additionally, Permitted States allow transitions not only within the same category but also between different State Categories. This flexibility makes it possible to manage complex workflows and different business processes within a single system.

💡 Tip​

By restricting transitions, you can ensure users follow only the defined steps. This increases the standardization and accuracy of your processes.


Steps to Define Permitted States​

Below are the step-by-step instructions for adding buttons (permitted states) to a state through the application:

1. Open the States Tab​

  • Open Administration > Function Designs and click the code of the function (or choose States from its row actions). The function opens on the States tab.

2. Open the State​

  • Edit an existing state (pencil button on its card, Edit state in its details drawer, or a double click on the flow map), or start a new one with Add state / New state. See State Views and Flow Map.

3. Add the Definition​

  • In the Buttons section of the state page, click Add button. A drawer opens from the right. To change an existing entry, click its row; the trash icon removes it.

4. Fill in the Fields​

  • Fill in the fields described below and click Add (or Apply when editing) in the drawer.

5. Save the State​

  • Click Save (or Create for a new state) on the state page. Entries added in the drawer are saved only together with the state.

Key Fields for Permitted States​

The table below summarizes the main fields that must be filled when defining a Permitted State:
Required fields are shown in bold.

Field NameDescription
Target StateThe target state to which the transition will be made. This may belong to the same or a different category. It defines the direction and destination of the transition.
Action NameThe technical key internally used by the system to uniquely identify the action. It is not directly shown to the user.
Action TitleThe multilingual key that determines the label shown on the button or link in the UI that initiates the transition. Choose a clear and descriptive title for users.
Action IconThe icon shown on the transition button.
Button ColorThe color of the transition button.
Signature RequiredWhen on, the user must sign electronically to perform the transition.
Description RequiredWhen on, the user must enter a description (note) to perform the transition.
Rejection ActionMarks the transition as a reject or send-back action.
Removes The RecordWhen on, the action deletes the record instead of moving it to another state.

The target state of an existing transition cannot be changed; delete the transition and add a new one instead. Transitions are saved together with the state when you click Save or Create on the state page. A button with a hidden expression is not offered to users; it is drawn as a system transition on the flow map.

⚠️ Warning​

  • In order to transition from one state to another, a definition must exist in the Permitted States section. This rule ensures the standardization and integrity of your processes. It is enforced to maintain system integrity and prevent unexpected behaviors.

  • Plan Permitted States transitions carefully according to your process requirements to design the correct workflow.


Example Use Cases​

  • Transition Within the Same Category:
    Allowing transition from “Draft” to only “Awaiting Info” and “Closed” states.
  • Transition Between Different State Categories:
    Defining a transition from a state in the “Review” category to one in the “Approval” category.
  • Multiple Transition Options:
    Offering users multiple transition options from a state (e.g., “Reject” and “Approve” buttons).

Simple Entity Structure of Permitted States​

Below is a simplified ER diagram showing the basic relationships of Permitted States: