# Comparing process flow versions

## Introduction

There may be times when it's useful to compare two versions of a process flow - for example, you might wish to compare the current `draft` version with the current `deployed` version, before deploying changes that you've completed in the `draft`.

The `compare versions` feature allows you to select any two versions of a given process flow for comparison.

## The steps

{% stepper %}
{% step %}
**Access version details for the required process flow**&#x20;

Open [settings](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-settings) for the required process flow and scroll down to the `versions` panel.

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FPT8tTceS2SB5sUleVrBM%2Fcompare%20flow%20versions%201.png?alt=media&#x26;token=26da27ff-2ec8-4add-9b65-0c119de9b95b" alt=""><figcaption></figcaption></figure>

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

{% step %}
**Select the compare option**

Click the `compare versions` button (at the top of the `versions` panel), for example:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FudcVjYjyQgOt7kNYGXFR%2Fcompare%20flow%20versions%202.png?alt=media&#x26;token=7420a171-6fcf-4057-8409-eb53f60365cd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Choose the original version to compare**

Click in the `original version` field and choose the first version that you want to compare, for example:  &#x20;

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FTDwI7ln6nTzXfxBvFvPv%2Fcompare%20flow%20versions%204.png?alt=media&#x26;token=c90ee86f-c11a-4924-8ec3-654d77b0f0a1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
All existing versions are available for selection.
{% endhint %}
{% endstep %}

{% step %}
**Choose the comparison version**

Click in the `comparison version` field and choose the version that you want to use for comparison, for example:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FDZIuhgSdyl4N5YjpFFwy%2Fcompare%20flow%20versions%205.png?alt=media&#x26;token=495a9658-2cdb-470f-822f-0142a332fd34" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Review comparison information**

Comparison information is displayed in dual panels, so you can scroll to view differences:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2Fb3UEckEisHcoWhommkne%2Fcompare%20flow%20versions%206.png?alt=media&#x26;token=73884902-ca6c-471d-ba39-be63fa21ff0f" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Look for marker bars down the edge of the `comparison version` panel. These show where differences are noted - click on a marker to jump to that point in the comparison:

![](https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FkvEULAytBKs6tC8HiY0x%2Fcompare%20flow%20versions%207.png?alt=media\&token=2b20236f-c556-4d73-864f-7601ef1a16b7)
{% endhint %}
{% endstep %}
{% endstepper %}
