---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Implement process flow and UI actions with a state model

# Implement process flow and UI actions with a state model {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can implement a process flow and UI actions with a state model.

## Before you begin

Role required: state_model_admin or admin

## About this task

State models provide a way to limit the choices for moving between states in a form. If you set up only a state model, users manually change states in the form. Additional steps are required to add the process flow or UI actions, as illustrated in the following example.

## Procedure

1. Verify the choices for the State field for the table and ensure that you created transitions for them.  
   For more information about how to add State field choices, see [Best practices for state field choice values](https://servicenow-prod.fluidtopics.net/nfh3EZBspumdwavZgFHGuw#c_BPForStateFieldChoiceValues "State fields are a subset of choice list fields. Keep the following information in mind when you configure choice values for the state field.").
2. After creating the state model, define the process flow.  
   For more information about process flows, see [Process flow formatter](https://servicenow-prod.fluidtopics.net/GvBJ7SZT2rv8teA~vKp2uA#r_ProcessFlowFormatter "The process flow formatter provides a graphical summary of the stages in a process. The formatter is typically shown at the top of forms that are part of a process.").
3. Define UI actions as desired to move between states.  
   For more information about UI actions, see [UI actions](https://servicenow-prod.fluidtopics.net/9X3pZAOGXF8kOwaYnQh7KA "UI actions include the buttons, links, and context menu items on forms and lists. Configure UI actions to make the UI more interactive, customized, and specific to user activities.").

## Result

After the state model is enabled, only the defined state transitions are included in the choice list for the State field, and the process flow and UI actions are implemented.

