# Handling Changes Before Approval

In this section, you can specify your preferences for saving changes to the databases, when an approval workflow is in place. There are two options available.

## **1. Only after approval**

In this method, the changes are saved to the database only after approval. This is the default mode.

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FNhcSYKedRHcwiz3CvZ8S%2Fimage.png?alt=media&#x26;token=079f8315-a920-4b90-95f6-1f8ac19103f1" alt=""><figcaption><p>Save changes only after approval</p></figcaption></figure>

After making changes, click **Submit for Review.**

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FvhzYCPqNqCkEuZMvYObS%2Fimage.png?alt=media&#x26;token=695a50d7-1698-421a-bb65-9c98f574b8a0" alt=""><figcaption><p>Submit for Review</p></figcaption></figure>

This opens the pop-up below, where you can add the description, due date for approval and priority of the change. Click **Submit** to send them to the approver.

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FP6RxjEpu7my6FEKhRIvc%2Fimage.png?alt=media&#x26;token=68cee144-fd18-4e45-a7b2-5c62fc274c41" alt=""><figcaption><p>Add description, due date and priority</p></figcaption></figure>

## **2. Save with Pending Approval Status**

In this option, the changes are saved and synced to the database with a 'Pending Approval' status flag.&#x20;

The rows marked as pending are sent for review. Once approved, the status column will be updated to reflect the 'Approved' flag, and the data will also be updated accordingly.

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FP6EsqfpR6RSqRJnO6chy%2Fimage.png?alt=media&#x26;token=a18ec66e-8681-4847-8188-d3e18c1c7af7" alt=""><figcaption><p>Save immediately with 'pending' status</p></figcaption></figure>

1. Choose any existing column from the table to reflect the status flag field. We have used the column 'Status' in the example below, where the status is recorded.
2. Enter the required text to be displayed for each state, such as 'pending review', 'approved', and 'rejected'.&#x20;
3. Click **Save.**

After making the changes to the table, click **Submit for Review**. This saves the data along with its status.

The saved changes are displayed with the label, 'Pending'. Approved and rejected changes are displayed with the labels, 'Approved' and 'Rejected' respectively.

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FIGmBDDvqQFYGuvg1IXNe%2Fimage.png?alt=media&#x26;token=0781c2ab-80c9-4199-b4a6-e578239ff5be" alt=""><figcaption><p>Saved changes</p></figcaption></figure>
