# Drafts and published flows

Learn why every automation keeps two copies of its flow, and what changes when you publish.

Source: https://support.rework.com/article/drafts-and-published-flows

An automation that's doing real work can't be edited in place. You'd break live runs halfway through, and a half-finished change would go out to customers. So every automation keeps two copies of its flow: the **draft** you edit and the **published** flow that actually runs. Knowing which one you're looking at explains most of what the app does when you press a button.

## The draft is what you edit

The **Builder** tab always shows the draft. Adding a step, changing a field, moving things around: all of it stays in the draft, and none of it reaches a single run. The draft saves itself as you work, so there's no Save button for the flow as a whole. A step's own inspector has a **Save** button, which writes that step's settings into the draft.

Because nothing in the draft is live, you can leave it half-finished for days, no problem. The published flow keeps running as it was.

![The Builder tab with the Publish button and the Production and Versions tabs](https://storage.googleapis.com/reworkv3-public/success/260923/zNanpwgrQZYXHgEJ653IVd20hMfDu61IWojmCqQbvhHcqf5dW2qbCrvteAH838Mx/img.tcmN2wcUQOtEjPMx4cEgFcVkkFj4g3bvNf4ziFioGwFov8l3ZnKXXGf7V9YfBRvr.png)

## Publishing copies the draft over

**Publish** checks the draft and, if it passes, makes it the live flow. The check covers three things: there's a trigger, every required field is filled, and the shape of the flow is valid (see [How a flow is shaped](https://support.rework.com/article/how-a-flow-is-shaped)). If some steps were never tested, the app asks you to confirm before going ahead.

The **Production** tab shows what's live right now, read-only. It's the honest answer to "what is actually running", which the Builder can't give you while you have unsaved ideas in the draft.

![The Production tab showing the live flow](https://storage.googleapis.com/reworkv3-public/success/260923/Uh4ioRUPmSELq5kurbgxxWedLZnW7CNNMps7N9na0reer8DuSCoH7YJZwEO7QFBl/img.Pl8DJILugBA71HNJ17J71p5OXCYHdmNcQMlHx7NfDIEZXPDDjA4qCZHUU6KA0VSS.png)

> **Note:** A run keeps the flow it started with. If you publish while a run is in the middle of a **Wait** step, that run finishes on the old flow, and only runs starting after the publish use the new one.

## Every publish is kept

Each publish is stored as a **version** on the **Versions** tab, with the date it went live and the **Current** pill on the one that's running. If a change turns out badly, don't panic: restore an earlier version into the draft and publish again. See [Go back to an earlier version](https://support.rework.com/article/go-back-to-an-earlier-version).

![The Versions tab with the current version](https://storage.googleapis.com/reworkv3-public/success/260923/4TJdUogaUMnxBiPf5lh6SfGZ7cfpxfT8qdYgAbcwD2ZvATfrPD7HEddYTPIoQpaG/img.ZfrjZgmjhWu92wvYZvh9s26YQgZEx3q9HkrtUxc0W8fLFB8MUzPNO8A5SZ2xgFo3.png)

## Published is not the same as on

Two separate things decide whether work actually happens:

| State | Set by | Meaning |
| --- | --- | --- |
| Published or not | **Publish** | Whether there is a live flow at all. An automation with no published flow never runs, whatever its trigger. |
| Active or disabled | **More** > **Disable automation** | Whether the live flow is allowed to start runs. A disabled automation turns incoming calls away. |

So an automation can be **Active** and still do nothing, because nothing has been published yet 💡 See [Rename, move or turn off an automation](https://support.rework.com/article/rename-move-or-turn-off-an-automation).
