# Publishing Workflows

Once the flow or logic is built, click on **Save as Draft**. After you've saved, the **Save** button is grayed out and the **Publish** button becomes available to deploy the workflow.

<figure><img src="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2FbJpxcTC70sbyidzZxAV3%2Fpublishing1.png?alt=media&#x26;token=129bd960-478a-4657-a915-3709a8c06611" alt=""><figcaption><p>Publish Button for Workflows</p></figcaption></figure>

For workflows to work as expected, the **Publish** step is mandatory every time you make a change to the workflow.

<div align="left"><figure><img src="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2FdKTk9ur424clq5gz9TmD%2Fpublishing2.png?alt=media&#x26;token=44c6091d-85c4-4090-ae38-1ea936b6329b" alt="" width="375"><figcaption><p>Workflow Version </p></figcaption></figure></div>

### Versioning <a href="#pdf-page-od2vyizba1eck6gc5o7h-heading-h.3o7alnk-1" id="pdf-page-od2vyizba1eck6gc5o7h-heading-h.3o7alnk-1"></a>

The **Publish** feature has version control, so it is possible to roll back to any published version.

**To roll back to a previous version of your workflow:**

1. Use the **Status** pull-down list to see the **Version History**.
2. Choose the version of your workflow that you want to use.
3. **Save** and **Publish** the chosen version and it will become the active workflow.
