---
schema_version: "1"
id: 38fa9eda8ad3676f4637d8e2f7ab45aea15ca698402cb456b77193dd5afd7428
title: Create Custom Metadata Types for Predictive Maintenance
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/auto_connected_vehicle_predictive_maintenance_custom_metadata.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.auto_connected_vehicle_predictive_maintenance_custom_metadata.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6033eec13347e21c71ead07e60812bab8a6349e2285c493d9a2ea8e8aede9fe2
description: Create a custom metadata type to represent work types and work type groups. Mulesoft retrieves the Work Type ID and Work Type Group ID from the custom metadata type to categorize the type of service required for a vehicle. For example, if the Diagnostic code represents an engine malfunction, Mulesoft can map the work type group as Critical Services and the work type as Engine Repair.
products:
  - Automotive
release: "264"
---
# Create Custom Metadata Types for Predictive Maintenance

Create a custom metadata type to represent work types and work type groups. Mulesoft retrieves the Work Type ID and Work Type Group ID from the custom metadata type to categorize the type of service required for a vehicle. For example, if the Diagnostic code represents an engine malfunction, Mulesoft can map the work type group as Critical Services and the work type as Engine Repair.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d80803e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d80803e63 ">To create custom objects:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d80803e63 ">System Administrator</td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Custom Metadata Types and then select **Custom Metadata Types**.
2. On the All Custom Metadata Types page, click **New Custom Metadata Type**.
    1. For Label, enter QC Mule Auto Setting.
    2. For Object Name, enter QC\_Mule\_Auto\_Setting\_\_mdt.
    3. For Visibility, select **All Apex code and APIs can use the type, and it's visible in Setup**.
    4. Click **Save**.
3. Under Custom Fields, click **New**.
    1. Select Data Type as **Text**.
    2. Click **Next**.
    3. For Field Label, enter **Value**.
    4. For API Name, enter Value\_c.
    5. Select Field Manageability as **Upgradable**.
    6. Click **Next**.
    7. Click **Save**.
4. On the QC Mule Auto Setting page, click **Manage QC Mule Auto Settings**.
    1. Click **New**.
    2. Enter Label and Name as Repair\_Estimate\_Expression\_Set\_Name.
    3. Save your changes.
    4. Click **New**.
    5. Enter Label as Work Type Group Id.
    6. Enter Name as WORKTYPEGROUP\_ID.
    7. Save your changes.
    8. Click New.
    9. Enter Label as Work Type Id.
    10. Enter Name as WORKTYPE\_ID.
    11. Save your changes.