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

# Approvals

> ### 💡 What is Approvals
>
> In the system, the approval process is a workflow that requires authorized users to review and approve actions, such as canceling work orders or transferring dangerous chemicals from the inventory, before they are finalized. Approvers are notified when needed, and approvals can be set in sequence or parallel. The process is customizable with criteria, conditions, and roles to ensure proper authorization and compliance.

## Access Approval Configurations

### 1. Manager App

To access the Approval Configurations, you need to open the Manager App.

<img src="https://mintcdn.com/fieldiu/I0KX1uEaTN8rxrHM/images/7f3fe950-0c93-4994-91d1-005627d4c11c.png?fit=max&auto=format&n=I0KX1uEaTN8rxrHM&q=85&s=d4835239cc9c99003ce0c4db6845c375" alt="" width="1920" height="917" data-path="images/7f3fe950-0c93-4994-91d1-005627d4c11c.png" />

### 2. Click on Approval & Email Autoamtion

<img src="https://mintcdn.com/fieldiu/I0KX1uEaTN8rxrHM/images/7c486f7a-fd7c-44f0-8045-e582b223c7bc.png?fit=max&auto=format&n=I0KX1uEaTN8rxrHM&q=85&s=b45d129b7878dfa60b17da403e5ea7c2" alt="" width="1065" height="527" data-path="images/7c486f7a-fd7c-44f0-8045-e582b223c7bc.png" />

### 3. Click on Approval Configurations

<img src="https://mintcdn.com/fieldiu/AWln65_P7KuC5v3X/images/99864346-917f-4f3b-aa3a-262092faa576.png?fit=max&auto=format&n=AWln65_P7KuC5v3X&q=85&s=2fd7e273f0ea3077c86840fbf2eb84ca" alt="" width="679" height="337" data-path="images/99864346-917f-4f3b-aa3a-262092faa576.png" />

## Creating Approval

### 4. Click on highlight

<img src="https://mintcdn.com/fieldiu/O-kgxeVaqfq71Ibh/images/db7bbd7b-c640-4631-bfd3-5ca51248ef43.png?fit=max&auto=format&n=O-kgxeVaqfq71Ibh&q=85&s=c9984612dc8faf62dba37cc7090af55f" alt="" width="1920" height="917" data-path="images/db7bbd7b-c640-4631-bfd3-5ca51248ef43.png" />

> ### 💡 Approval Main Window
>
> The approval window consists of two sections:
>
> 1. Main Information
>
> 2. Configuration

### 5. Info

In the 'Main Information' section, you need to provide a name for the approval. Optionally, you can also add a description if necessary.

<img src="https://mintcdn.com/fieldiu/GgdB9rxDgC_7q1qM/images/6f7d24af-5494-4737-a0cf-5362dcd80f79.png?fit=max&auto=format&n=GgdB9rxDgC_7q1qM&q=85&s=d9dd17df36c061a2b26d9d18f75539a7" alt="" width="627" height="377" data-path="images/6f7d24af-5494-4737-a0cf-5362dcd80f79.png" />

### 6. Approval Configuration Status

In the 'Main Information' section, you must also set the status for the approval:

* **Draft** : The approval will not be active, and you can edit it later.

* **Published** : The approval is active and functional.

* **Canceled** : The approval is completely stopped and no longer in effect.

<img src="https://mintcdn.com/fieldiu/Hwwo9LuJIX8y4Rbu/images/fc3fed74-095c-4f03-ac76-d0b5c8528d3e.png?fit=max&auto=format&n=Hwwo9LuJIX8y4Rbu&q=85&s=d55112c0ae3a2dbbec249c9fc8c32551" alt="" width="768" height="367" data-path="images/fc3fed74-095c-4f03-ac76-d0b5c8528d3e.png" />

### 7. The Error Message

Finally, in the 'Error Message' section, you need to specify the message that will be displayed to the user when the approval is triggered.

<img src="https://mintcdn.com/fieldiu/O-kgxeVaqfq71Ibh/images/df314d02-88be-4af4-b309-294a99092896.png?fit=max&auto=format&n=O-kgxeVaqfq71Ibh&q=85&s=f4797e315a4e362457d834a12c932b0f" alt="" width="768" height="367" data-path="images/df314d02-88be-4af4-b309-294a99092896.png" />

### 8. Configuration Section

In the 'Configuration' section, there are three main configurations:

1. **Entity Select** : This option is visible by default.

2. **Criteria** : This option is also visible by default.

3. **Approver Assignment** : This option will become visible after saving and is used to specify who will be responsible for approving

<img src="https://mintcdn.com/fieldiu/GgdB9rxDgC_7q1qM/images/6f777034-5932-4bb3-89b9-ff65b3dd6594.png?fit=max&auto=format&n=GgdB9rxDgC_7q1qM&q=85&s=99e6cd085e465a7e10d71251d3036148" alt="" width="1285" height="917" data-path="images/6f777034-5932-4bb3-89b9-ff65b3dd6594.png" />

> ### 💡 Example
>
> Let's create an example where we want to set up an approval process for when users cancel a work order.

### 9. Entity Select

First, select the 'Work Order' entity.\
Next, choose the field that will trigger the function when its value changes ( *in our example, we'll select 'Work Order Status.'* ).\
Lastly, set the condition so that the function is triggered when the status is changed to 'Canceled.'

<img src="https://mintcdn.com/fieldiu/O-kgxeVaqfq71Ibh/images/e8e61489-bc7d-4e4e-b4e4-e09d6333a924.png?fit=max&auto=format&n=O-kgxeVaqfq71Ibh&q=85&s=88ab92f73be19d6591a2ccd398e7948c" alt="" width="1288" height="443" data-path="images/e8e61489-bc7d-4e4e-b4e4-e09d6333a924.png" />

### 10. Function

Now, let's create the function:

* The system will automatically select 'Work Order' as the entity since we chose it earlier.

* Select the field we want to check—in this case, 'Work Order Status.'

* Choose the operator 'Equal.'

* Select the status we want to trigger the function, which in our case is 'Canceled.'

<img src="https://mintcdn.com/fieldiu/I0KX1uEaTN8rxrHM/images/84dd6768-8969-4899-b88f-59459fc52e88.png?fit=max&auto=format&n=I0KX1uEaTN8rxrHM&q=85&s=853de80ba350be56baaa8e12b1249222" alt="" width="1278" height="228" data-path="images/84dd6768-8969-4899-b88f-59459fc52e88.png" />

### 11. Save

<img src="https://mintcdn.com/fieldiu/O-kgxeVaqfq71Ibh/images/d6c1a1f9-2e2b-48b0-a695-7ec246991177.png?fit=max&auto=format&n=O-kgxeVaqfq71Ibh&q=85&s=ca4afa173e4381baf18b1cd895189e53" alt="" width="1047" height="512" data-path="images/d6c1a1f9-2e2b-48b0-a695-7ec246991177.png" />

### 12. Approval Users

After saving, as we mentioned earlier, a new section will appear. This is where you will select who is responsible for approving the action.

<img src="https://mintcdn.com/fieldiu/GS4rQPdzw48eDklV/images/21cdc571-ae79-4684-94e1-68438682b243.png?fit=max&auto=format&n=GS4rQPdzw48eDklV&q=85&s=3a7bf2009c25ca8051754ab9ad1146b8" alt="" width="783" height="519" data-path="images/21cdc571-ae79-4684-94e1-68438682b243.png" />

### 13. Selecting Approval Users

Click on the '+' button to select the users who will be responsible for approving. Once you click the '+' button, a small window will appear asking whether you want the approver to be an individual user or a team

<img src="https://mintcdn.com/fieldiu/0rNv5-wAPkXbp1BF/images/46dc1a51-2bfe-4438-9b23-fd771f5847dc.png?fit=max&auto=format&n=0rNv5-wAPkXbp1BF&q=85&s=ffe828219c182b67d9d3e656ebdd94fd" alt="" width="768" height="367" data-path="images/46dc1a51-2bfe-4438-9b23-fd771f5847dc.png" />

### 14. Selecting Users

Now, all you need to do is click on the user's name on the left side, and it will automatically be selected. The selected users will appear on the right side. After selecting the approvers, simply press 'Back,' and they will be saved.

<img src="https://mintcdn.com/fieldiu/I0KX1uEaTN8rxrHM/images/8be2df24-1ada-4e65-b76f-06f15fd8a753.png?fit=max&auto=format&n=I0KX1uEaTN8rxrHM&q=85&s=dedf290a3ee412503b91f62c49257555" alt="" width="933" height="884" data-path="images/8be2df24-1ada-4e65-b76f-06f15fd8a753.png" />

### 15. Click on Abood Alhamwi

<img src="https://mintcdn.com/fieldiu/GS4rQPdzw48eDklV/images/29cb4e89-ede9-4a31-988a-94aff05fe0f9.png?fit=max&auto=format&n=GS4rQPdzw48eDklV&q=85&s=17a44907c1ab7b7df0d5fa324a117542" alt="" width="768" height="367" data-path="images/29cb4e89-ede9-4a31-988a-94aff05fe0f9.png" />

### 16. Order

Once you select the users, an order number will appear beside each user. The order is used to sequence the approvals. For example, if the cancellation requires approval first by the team leader and then by the manager, you will need two approvals.

* First, select the team leader as the approver and set their order number to **1** .

* Next, add the manager and set their order number to **2** .

If you have two users with the order number **1** , only one of them needs to approve for the process to continue.

**Example** :

1. **Team Leader** (Order 1)

2. **Manager** (Order 2)

In this setup, the cancellation must first be approved by the team leader, and then by the manager.

<img src="https://mintcdn.com/fieldiu/0rNv5-wAPkXbp1BF/images/42d1189a-85fc-4600-bc5a-f8a01d4f19a2.png?fit=max&auto=format&n=0rNv5-wAPkXbp1BF&q=85&s=22cb214945df763c171c353bef898c81" alt="" width="768" height="367" data-path="images/42d1189a-85fc-4600-bc5a-f8a01d4f19a2.png" />

> ### 💡 Orders
>
> Add Another user to so you can see the orders

### 17. Order Selection

As we mentioned before, when you add another user, the system will ask you to specify the order for that user. After selecting the user, you can easily choose the order number to determine when their approval is required in the process.

<img src="https://mintcdn.com/fieldiu/1sFvM1xYsLMj5iCS/images/d5336a26-9890-4935-b2a8-f59c7cdfb323.png?fit=max&auto=format&n=1sFvM1xYsLMj5iCS&q=85&s=9de4b8994dcda049dfcac9169a5c1291" alt="" width="768" height="367" data-path="images/d5336a26-9890-4935-b2a8-f59c7cdfb323.png" />

### 18.

<img src="https://mintcdn.com/fieldiu/GS4rQPdzw48eDklV/images/20ac1e1b-621d-4fa2-8d4f-91b85c157aa7.png?fit=max&auto=format&n=GS4rQPdzw48eDklV&q=85&s=14c77dafa64395689c5bac7e43bb76cf" alt="" width="632" height="314" data-path="images/20ac1e1b-621d-4fa2-8d4f-91b85c157aa7.png" />

### 19. Publish & Save

<img src="https://mintcdn.com/fieldiu/O-kgxeVaqfq71Ibh/images/da4aa53a-70a3-4849-b606-6f084021932e.png?fit=max&auto=format&n=O-kgxeVaqfq71Ibh&q=85&s=c0d663d4adc7b9343eebe8fe751e242c" alt="" width="1920" height="917" data-path="images/da4aa53a-70a3-4849-b606-6f084021932e.png" />�����������������������
