# 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](/product-documentation/process-flows/building-process-flows/process-flow-settings.md) for the required process flow and scroll down to the `versions` panel.

<figure><img src="/files/SQPBOy63FdaxNSCmEQcr" 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 %}
**Select the compare option**

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

<figure><img src="/files/37fwZENoViKvAxu31K7p" 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="/files/TqQ5ATRyYrww5scojI9M" 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="/files/mQAFCsWUc0HAABtkCkb5" 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="/files/IxXR0oeWeThy7vNN7WJl" 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:

![](/files/ErWHkwpzUsUYo12QUVME)
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-versioning/comparing-process-flow-versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
