> For the complete documentation index, see [llms.txt](https://docs.powerdevbox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerdevbox.com/autoreview/files/compare-with-previous.md).

# Compare with Previous

Once a flow is selected the Compare with Previous menu option will appear.

<figure><img src="https://615225135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRQ78yGt6X6zz3qONecCy%2Fuploads%2Fgit-blob-fe8d81461f854e8deef72778a2024dc96ad5f825%2Fimage%20(201).png?alt=media" alt="" width="365"><figcaption></figcaption></figure>

Clicking the plus icon will add the flow as the second flow and turn the icon red

<figure><img src="https://615225135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRQ78yGt6X6zz3qONecCy%2Fuploads%2Fgit-blob-243c35e12b2ee54b236dca0dee853b306fb77eaf%2Fimage%20(202).png?alt=media" alt="" width="365"><figcaption></figcaption></figure>

Import the next version of the flow, select it, and then press the Compare with Previous option to open the Table version of the file.

### Table

<figure><img src="https://615225135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRQ78yGt6X6zz3qONecCy%2Fuploads%2Fgit-blob-6533d40423401e7d8051f54a97b2ea6315ba9416%2Fimage%20(117).png?alt=media" alt=""><figcaption></figcaption></figure>

The Table will have the following fields:

| Field       | Description                                     | Example        |
| ----------- | ----------------------------------------------- | -------------- |
| Type        | Type of change, see Key                         | N              |
| Path        | JSON object that has the change                 | {"name"}       |
| First Flow  | Value of the flow selected with the plus icon   | \["Succeeded"] |
| Second Flow | Value of the flow selected with the menu option | \["Skipped"]   |

### Key

* N - indicates a newly added property/element
* D - indicates a property/element was deleted
* E - indicates a property/element was edited
* A - indicates a change occurred within an array

If N then First Flow will be blank, if D then Second flow will be blank

### Additional Functionality

#### JSON Schema

Json file representation of the changes.

* kind - indicates the kind of change; will be one of the following:
  * kN - indicates a newly added property/element
  * kD - indicates a property/element was deleted
  * kE - indicates a property/element was edited
  * kA - indicates a change occurred within an array
* kpath - the property path (from the left-hand-side root)
  * klhs - the value on the left-hand-side of the comparison (undefined if kind === "N")
  * krhs - the value on the right-hand-side of the comparison (undefined if kind === "D")
* kindex - when kind === "A", indicates the array index where the change occurred
* kitem - when kind === "A", contains a nested change record indicating the change that occurred at the array index

<figure><img src="https://615225135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRQ78yGt6X6zz3qONecCy%2Fuploads%2Fgit-blob-24acbb7b86db5e24757a66f1e93122e460578b6e%2Fimage%20(118).png?alt=media" alt=""><figcaption></figcaption></figure>

#### Download

Downloads a copy of the solution. When a solution is open it is linked to AutoReview so if saved through the browser all flow information will be lost. Downloading separates the solution and ensures the values are permanent.

#### Icon

Clicking the icon jumps back to the top of the page.

***

**Next Steps - CSV Files**

{% content-ref url="/pages/oWCvzEmB6rnLkk9G5gtY" %}
[CSV Files](/autoreview/files/csv-files.md)
{% endcontent-ref %}
