> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-versioning/copying-an-existing-process-flow-version-to-draft.md).

# Copying an existing process flow version to draft

## Introduction

Any updates to a `deployed` process flow must be made in a `draft` version, and then this version must be [deployed](/product-documentation/process-flows/managing-process-flows/flow-deployment/deploying-a-process-flow-with-virtual-environments.md).

Sometimes it can be useful to copy the contents of an existing `deployed` or `inactive` process flow version to the `draft` version, as a starting point for editing. For example, you might have lost track of changes that have been made to the current `draft` and want to ensure it's in step with the `deployed` version before making changes. Or, you might want to revert to an older way of working, and so copy an `inactive` version to the current `draft`.

{% hint style="warning" %}
When an existing `deployed` or `inactive` version is copied to `draft`, the version number associated with the `draft` stays the same, but the content is replaced.
{% endhint %}

## The steps

{% stepper %}
{% step %}
**Access version details for the required process flow**

Open settings for the required process flow and scroll down to the `versions` panel.

<figure><img src="/files/DnAsXMNAe4VhHCE7HCiR" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For detailed instructions, please refer to [Accessing process flow versions](/product-documentation/process-flows/building-process-flows/process-flow-versioning/accessing-process-flow-versions.md).
{% endhint %}
{% endstep %}

{% step %}
**Access version actions**

Click the ellipsis icon associated with the `deployed` or `inactive` version that you want to copy, for example:

<figure><img src="/files/h0ouOTXKBt1tquR7UXNU" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Copy the selected version to the current draft**

Select the `copy to draft` option:

<figure><img src="/files/dHEv55mfo5SfQJLSH895" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The `copy to draft` option is only shown when a `deployed` or `inactive` version is selected.
{% endhint %}
{% endstep %}
{% endstepper %}
