> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extend.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Reviewing a Workflow Run

> How to review a workflow run once a document has been sent to review

Navigate to the "History" tab of a workflow to see a list of all workflow runs that have been sent to review.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/history.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=6af1af2e64b5b27af51fe01f2183bbbf" alt="" width="1840" height="1191" data-path="images/reviewing_workflow_run/history.png" />

After clicking on a workflow run in need of review, you will see the document on the left and the extraction results displayed on the right.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/review_page.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=a541ef14632c17d675f339645e5ed56d" alt="" width="1840" height="1191" data-path="images/reviewing_workflow_run/review_page.png" />

### Editing and approving a Workflow Run

Check the extracted values to confirm they are correct. If you find an extracted value that is not correct, click the pencil button to start making a correction. For array fields, you can double click on the cell that needs correcting

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/review_page_editing.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=22492dbbafb36023c5fb443adf8426bc" alt="" width="1840" height="1191" data-path="images/reviewing_workflow_run/review_page_editing.png" />

Replace the value with the correct value and then click the checkmark button to update the value. If there shouldn’t be a value, click the circled x button to set the value to `null`.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/review_page_corrected.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=18182b73c07d355fed2cba90312e7058" alt="" width="1840" height="1191" data-path="images/reviewing_workflow_run/review_page_corrected.png" />

Once you’ve made all the necessary corrections, click “Save and approve”. A dialog will appear asking you to explain your corrections.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/review_page_confirm_corrections.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=d496a6c958d1bfe5dddf49045a6843e2" alt="" width="1840" height="1191" data-path="images/reviewing_workflow_run/review_page_confirm_corrections.png" />

These explanations are used to improve the extraction accuracy so it is important that you clearly and concisely explain what was wrong, what is right, and how you know.
Once finished, click “Confirm corrections” and you are done! The workflow run will be updated with the new values.

### Rejecting a Workflow Run

If a workflow run is rejected, it will not trigger subsequent steps and the final processed data will not be sent to your downstream systems. However, developers can still consume rejected run data by listening for the `workflow_run.rejected` event which is listed in the [webhook events](/api-reference/webhooks/events#event-types).

If you find that the document is not valid and should not be processed further, you can reject the workflow run. To do this, click the “Reject” button in the top right corner of the review page.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/reject_workflow.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=7efa0a1afa399e1c32f7bcbc7afcf7fd" alt="" width="3678" height="2382" data-path="images/reviewing_workflow_run/reject_workflow.png" />

You can then add a note explaining why the document is being rejected. Once you’ve added a note, click “Confirm rejection” and the workflow run will be marked as rejected.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/reject_workflow_confirmation.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=1a76f05c80c33123be22f84bca2116c4" alt="" width="3590" height="2294" data-path="images/reviewing_workflow_run/reject_workflow_confirmation.png" />

### Re-classifying a Workflow Run

If a document was classified incorrectly, it can be reclassified during human review. To do this, select a new classification value from the dropdown and click “Save and re-classify”. Upon confirmation, the document will be re-classified and the workflow run will be restarted at the classification step using the corrected classification.

**Please note:** Re-classifying a document will cause previous step runs stemming from the incorrect classification to be removed from the workflow run.

Let's walk through an example using the workflow below.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/example_workflow.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=95431581222fdef33a9ec196285cf750" alt="" width="3680" height="2382" data-path="images/reviewing_workflow_run/example_workflow.png" />

A document is sent to the workflow and is classified as an `invoice` in the `classification1` step before being sent to `humanReview1`. Although the document was correctly classified as an `invoice`, lets pretend it's actually a `receipt` and we want to fix that classification.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/correct_classification.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=0e3d8b274ac9fb2cc3e227148a8c1066" alt="" width="3680" height="2382" data-path="images/reviewing_workflow_run/correct_classification.png" />

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/corrected_classification.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=19e6cd8b5a31218593e8402c310de29a" alt="" width="3680" height="2382" data-path="images/reviewing_workflow_run/corrected_classification.png" />

After re-classifying the document as a `receipt`, the workflow run will be restarted at the `classification1` step and the previous extraction step run `extraction1` stemming from the incorrect classification will be removed from the workflow run. The document will then be processed by the `extraction2` step and go into `humanReview1` step again where the updated classification and output from `extraction2` step can be viewed.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/reclassification_result_classification.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=03f5c59d7707454eef2a4b9494c29d6d" alt="" width="3680" height="2382" data-path="images/reviewing_workflow_run/reclassification_result_classification.png" />

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/reclassification_result_extraction.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=13330b9e91f1ea5eb0e6755aaa766d58" alt="" width="3680" height="2382" data-path="images/reviewing_workflow_run/reclassification_result_extraction.png" />

So to review, re-classifying a document will cause previous step runs stemming from the incorrect classification to be removed from the workflow run and the workflow run will be restarted at the classification step using the corrected classification. See the image below for a review of the re-classification example.

<img src="https://mintcdn.com/tryextend/NeUPP_WuB5hqpOgD/images/reviewing_workflow_run/example_review.png?fit=max&auto=format&n=NeUPP_WuB5hqpOgD&q=85&s=10b33c4ad655005c24e1e20f73743298" alt="" width="3680" height="2382" data-path="images/reviewing_workflow_run/example_review.png" />
