---
title: "Edit a state flow"
slug: "edit-a-state-flow"
abstract: "How to edit a complex state flow when you want to change states, transitions, and settings, or when you want to visualize the state flow."
---
# Edit a state flow

> [!note]
> To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through [user group policies](https://doc.sitecore.com/ch/en/users/content-hub/user-group-policies.html "User group policies").

A state flow in the lifecycle of a content item is considered complex when at least one state is connected to two different states. You can edit a [complex state flow](https://doc.sitecore.com/ch/en/users/content-hub/state-flows.html "State flows") to change the states, transitions, and settings.

> [!note]
> You can only view a diagram and edit the flow of a complex state flow.

To edit a state flow:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **State flows**.
3. On the **State flows** page, click the state flow you want to edit to open its details page.
4. On the details page, do any of the following:
    - To add a new state, click :mdiPlus: **State**.
    - To modify the state transitions, next to a particular state, click **Edit transitions**.
    - To modify the state settings, such as assigned users, update status, content status, and so on, next to a particular state, click **State details** :mdiPencilOutline:.
5. To view or edit a diagram of a complex state flow, on the state flow menu bar, click **Edit flow** :mdiPencilOutline: to open the state flow viewer.
6. To change how the state flow diagram displays, in the state flow viewer, click a state and drag it to a new position.
7. When you have updated the diagram as required, click **Save**.
8. To modify the state flow settings, for example, the name, the associated details page, or email template, click **Settings** :mdiCogOutline:.
9. To delete the state flow, click **Delete** :mdiTrashCanOutline:.