# ReplaceContactRoles

**ReplaceContactRoles** template allows replacement of existing picklist value with the new picklist value and automatically deletes a value to 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**](https://knowledgebase.autorabit.com/product-guides/arm/arm-features/environment-provisioning/unsupported-metadata-templates) tab.
5. Give the template a **name** and a **short description** of it.
6. Select the **ReplaceContactRoles** checkbox available under [**Case Contact Roles**](https://knowledgebase.autorabit.com/product-guides/arm/arm-features/environment-provisioning/unsupported-metadata-templates/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:

   * Click on![](https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FLUCGiYf2AhyvXhBnqaLA%2Fimage.png?alt=media\&token=6a77c295-ebd6-4e9e-830c-772aceb52fe5)icon.
   * **Exact Value**: Enter the existing picklist value to be fetched
   * **Select Value:** Enter the new picklist value to be changed
   * **Blank Values:** If selected, it will replace all the blank values from the ‘**Exact Value**’ field. Make sure to keep the ‘Exact Value’ field blank when using this option.
   * You can even add multiple values for the above-generated test case. Click on the **+** symbol and fill in the fields as mentioned in the steps earlier.&#x20;
   * Click **OK**. 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%2FkwHHFFzhmWmLlQFvcoVd%2Fimage.png?alt=media&#x26;token=8c3e8c3a-2277-4cee-b213-f9a53d3ebcba" 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**](https://knowledgebase.autorabit.com/product-guides/arm/arm-features/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.
