# Approval Task

### Approval Task

If the deployment needs any **prior approval**, then the user has to add an **Approval Task** **before** the **Deployment Task** while creating the Release Pipeline. An Approval Task can be added as follows:

<figure><img src="https://1890383800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDWyxe6hm5vqosFaByVgs%2Fuploads%2FT2nwJT0Iv20N9o18yrS2%2Fimage.png?alt=media&#x26;token=9170f852-ea84-4c7b-b90d-adc9070aed18" alt=""><figcaption></figcaption></figure>

Fill in the required details:

| **Name**                                                      | Enter any name of your choice for the approval task being created. **Note:** Only letters, numbers, underscores (\_), and periods (.) are permitted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Description**                                               | Any message that is to be conveyed to the task performer can be mentioned here.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Assign To**                                                 | <p></p><ul><li><strong>User:</strong><br>Select a specific user from the available list. The selected user will be responsible for approving the task.</li><li><strong>Role:</strong><br>Any user with the selected role will be able to approve the task. This is useful when approvals are not tied to a specific individual but to a user role.</li><li><strong>Custom:</strong><br>The task can be approved by any user associated with the custom-defined roles assigned to each component. This provides flexibility to assign different roles for different components. </li><li><strong>Note:</strong> The following options are available <strong>only</strong> under the <strong>Custom</strong> assignment type.</li><li><strong>Export Roles:</strong><br>This feature allows you to download and save the current role assignments (i.e., the list of components and their associated roles) as a file. </li><li><strong>Import Roles:</strong><br>This option allows you to upload a previously exported roles file in another release pipeline. </li></ul><ul><li><p><strong>Add Component and Role (+ Button)</strong></p><p>Click the <strong>“+” (Add)</strong> button to open a popup window.</p><p>In the popup:</p><ul><li><strong>Select the Component</strong> for which you want to define roles.</li><li><strong>Add one or more Roles</strong> (separated by commas) that should be assigned to the selected component.</li><li>Click the <strong>Add</strong> button to save the custom component-role mapping.</li></ul></li></ul> |
| **Message**                                                   | Any message that is to be conveyed to the task approver can be mentioned here.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><strong>Disable Email Notification</strong></p><p><br></p> | Users will not receive the approval email link but will get a notification only about the final status (approved/rejected).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

{% hint style="info" %}
**Note:** The Approval Tasks assigned to a user appear under his/her **My Tasks** section upon logging in to **ReleaseOwl**. The user can either **accept** or **reject**.
{% endhint %}
