> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/documentation/workflows/change-a-live-workflow.md).

# Change a live workflow

Change a workflow while items are in it, without losing work.

You can change a workflow that already has items in it. Before you do, check where those items are and who is working on them.

## Before you change anything

Open the **Task Queue** and the stage panel's **Stage distribution** to see how many items wait at each stage.

| If you change            | Check                                                                         |
| ------------------------ | ----------------------------------------------------------------------------- |
| A stage or route         | Which items are in the stages you change.                                     |
| Who can work on a stage  | New work follows the new list. Assigned items stay with their current person. |
| Consensus settings       | Some settings lock while votes are in progress.                               |
| A Quality Gate threshold | Applies to items that enter the gate from now on.                             |
| The whole workflow       | Items may go back to the **Project** stage.                                   |

## Make the change

1. Edit the stages, routes or settings.
2. Select **Save and Apply**.
3. Read the summary Unitlab shows. It lists problems to fix and how many items the change affects.
4. Confirm.
5. Open a few affected items and check their stage and assignee.

![Annotate stage selected, with Save and Apply in the workflow editor](https://292810646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGjVLUz4wthGkGlRKM6rM%2Fuploads%2F80ZKeR6WiJA2KUqCPnNo%2Fstage-settings-context.webp?alt=media)

{% hint style="warning" %}
Deleting a stage and adding a new one that looks the same is not the same stage. Its assignments and statistics don't carry over. Edit the existing stage instead.
{% endhint %}

## Consensus in progress

Votes already submitted stay. Changing who can vote affects new votes only. Moving an item into Consensus again starts a new round, and earlier votes stay with the old round.

## After the change

Run one item through every route, including rejection, to check nothing is missing.

## Related

[Stages and routes](https://docs.unitlab.ai/documentation/workflows/stages-and-routes.md) · [Assignment and stage actions](https://docs.unitlab.ai/documentation/workflows/assignment-and-stage-actions.md) · [Task Queue](https://docs.unitlab.ai/documentation/queues/task-queue.md)
