# Accessing process flow versions

## Introduction

All versions associated with a process flow can be accessed via the `versions` panel in [process flow settings](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-settings). From here, you can view summary details for each version and, if required, switch to a given version on the canvas.

## The steps

{% stepper %}
{% step %}
**Log in to the Patchworks**&#x20;

If you haven't done so already, log in to the [Patchworks dashboard](https://app.wearepatchworks.com/login).
{% endstep %}

{% step %}
**Access process flows**

Select `process flows` ➤ `process flows` from the left-hand navigation menu:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FhsNdbcf1KwRZNqZNdBZ4%2Faccess%20process%20flows%201.png?alt=media&#x26;token=0602e66f-b031-4f8f-9c87-42f0441fce12" alt="" width="238"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Access process flow settings**

Select `flow settings` from the actions bar - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FwCkTbIXnbHN3EKKG7IUj%2Fflow%20settings.png?alt=media&#x26;token=e24d4ad3-508a-41b1-b444-4ac1b821c7ff" alt="" width="324"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Scroll to versions**

Scroll down to the `versions` panel, where all existing versions of the process flow are listed:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FPLmvQF6SkWFyAKo0W84F%2Fflow%20versions%20no%20ve.png?alt=media&#x26;token=11ebdf84-08d3-474f-8a45-9dffa2b51453" alt=""><figcaption></figcaption></figure>

The version that's currently available to view and (if applicable) edit on the canvas is shown with an 'eye' icon in the selected column. To switch to a different version, click anywhere in the associated row - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FeGmDJdLg1XdjsJxJ7nXj%2Fswitch%20version.png?alt=media&#x26;token=bcf8e6b9-f000-47dd-97e4-bf2dbc52c59d" alt="" width="351"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

## Understanding the process flow versions panel

The versions panel is available in [process flow settings](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-settings) - for example:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FksBa7Rbq93FvmpVRrxXU%2Freview%20versions%201a.png?alt=media&#x26;token=8c826607-8a13-408b-969e-9e412bc1c765" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Version details are different if you use virtual environments - in this case, please refer to [Reviewing version information for virtual environment process flows](https://doc.wearepatchworks.com/product-documentation/virtual-environments/implementing-virtual-environments/deploying-a-single-process-flow-to-a-virtual-environment/understanding-flow-versioning-for-virtual-environments/reviewing-version-information-for-virtual-environment-process-flows).
{% endhint %}

From here, you can see the following details for each *version*:

<table><thead><tr><th width="246.2109375">Heading</th><th>Summary</th></tr></thead><tbody><tr><td>#</td><td>The flow version number. The version number remains constant unless another version is deleted, in which case any remaining version numbers update accordingly.</td></tr><tr><td>ID</td><td>The unique identifier associated with a version. This identifier remains constant, even if the original version number changes as a consequence of another version being <a href="../../managing-process-flows/removing-a-process-flow">deleted</a>. <br><br>If you are using our API to work with virtual environments, you'll need this <code>id</code> to target the required flow version.</td></tr><tr><td>Selected</td><td>Indicates which version is currently displayed on the <a href="../the-process-flow-canvas">canvas</a>.</td></tr><tr><td>Created</td><td>The date and time (UTC) this version was created.</td></tr><tr><td>Updated</td><td>The date and time (UTC) this version was updated.</td></tr><tr><td>Status</td><td>The current status of this version. Each new version of a process flow starts as a <code>draft</code>, and increments the version number. The version then progresses through its own <a href="..#version-types-summary">lifecycle</a> (where a <code>draft</code> can become <code>deployed</code> and a <code>deployed</code> version becomes <code>inactive</code> when superseded by another deployment.<br><br>Note that flow versioning works a little differently if you use virtual environments. In this case, please refer to <a href="../../../virtual-environments/implementing-virtual-environments/deploying-a-single-process-flow-to-a-virtual-environment/understanding-flow-versioning-for-virtual-environments">Understanding flow versioning for virtual environments</a>.</td></tr><tr><td>...</td><td>Access <a href="#version-options">options to work with the selected version</a>.</td></tr></tbody></table>

### Version options

The ellipsis associated with each version provides access to the following options (availability varies, depending on the version status):

<table><thead><tr><th width="198.3359375">Option</th><th>Applicable from status...<select multiple><option value="NYQEX25HHYWG" label="draft" color="blue"></option><option value="YMhkJCk0rBUW" label="inactive" color="blue"></option><option value="r4OOuW1b4nN4" label="deployed" color="blue"></option></select></th><th>Summary</th></tr></thead><tbody><tr><td>Duplicate flow</td><td><span data-option="NYQEX25HHYWG">draft, </span><span data-option="r4OOuW1b4nN4">deployed, </span><span data-option="YMhkJCk0rBUW">inactive</span></td><td>Copy the selected flow version to a new process flow.</td></tr><tr><td>Copy to draft</td><td><span data-option="r4OOuW1b4nN4">deployed, </span><span data-option="YMhkJCk0rBUW">inactive</span></td><td>Overwrite the existing draft version with content from the selected flow version.</td></tr><tr><td>Upload to marktplace</td><td><span data-option="r4OOuW1b4nN4">deployed</span></td><td>Upload the selected version to your <a href="../../../marketplace/private-marketplaces">private marketplace</a> (only applicable if the <a href="../../../../getting-started/core-subscription-tiers#about-the-partner-features-bolt-on">partner features bolt-on</a> is enabled for your company profile).</td></tr><tr><td>Delete</td><td><span data-option="YMhkJCk0rBUW">inactive</span></td><td>Deletes the selected version entirely.</td></tr></tbody></table>
