# DeleteContactRoles

**DeleteContactRoles** template automatically deletes existing case contact role value from the picklist.

To create this template, follow the below steps:

1. Login to your AutoRABIT account.
2. Click on **Env. Pro.** module.
3. Click on **Create New Template**.
4. Go to the **Create Unsupported Metadata Template** tab.
5. Give the template a **name** and a **short description** of it.
6. Select the **DeleteContactRoles** checkbox available under **Case Contact Roles.**
7. Click **Add**.
8. On the next screen, you will find a **Test Case Name** appear automatically by default. To add the custom test data, click on **Add** button. You will have the following options to check:

   * **Delete Values**
   * **Replace With**
   * Select the **Replace With Blank Value** checkbox.
   * Once you are finished, click on **Save** to save this page.

   <figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FeqhRyS3otWkuY1AMzdcv%2Fimage.png?alt=media&#x26;token=f7515766-57f5-42e9-847c-0c29f0dec50f" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FUwBJIdfqj8vnNFUjqUR7%2Fimage.png?alt=media&#x26;token=96bf0717-3a1d-4aac-a5ce-cdfef529f35d" alt=""><figcaption></figcaption></figure>
9. Next, Click **Save** to save the template.
10. Once the template is successfully created, you'll be redirected to the **Environment Provisioning History** screen.
11. Click on the **Run** button to run the current template on your destination org.
12. Select your **destination org** from the dropdown and enter the **email address(es)** to receive an email notification whenever the template is run.
13. In the **Post Deployment Steps**, select the test cases that you have recently created.&#x20;
14. For a detailed summary report of the operation carried out, please check the **View History** page.
