---
schema_version: "1"
id: 2a1b74b8386c779522c743b672187a1b82264506bbc0ebeb4dac1186582d88ba
title: Create a Decision Matrix 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_decision_matrix.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.auto_connected_vehicle_predictive_maintenance_decision_matrix.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bc857f17c95312c0b6c3bdd7a84416f6659d43bb274054f395f63f170ebcad75
description: Create a decision matrix that maps the estimated time, maximum cost, and minimum cost of repairs to specific diagnostic trouble codes (DTC). The decision matrix uses the DTC details sent by Mulesoft as input and triggers an expression set that maps each code to the relevant cost and time estimate. The output is sent to Mulesoft by Automotive Cloud and is in turn shared by Car to Cloud to the driver’s human machine interface (HMI).
products:
  - Automotive
release: "264"
---
# Create a Decision Matrix For Predictive Maintenance

Create a decision matrix that maps the estimated time, maximum cost, and minimum cost of repairs to specific diagnostic trouble codes (DTC). The decision matrix uses the DTC details sent by Mulesoft as input and triggers an expression set that maps each code to the relevant cost and time estimate. The output is sent to Mulesoft by Automotive Cloud and is in turn shared by Car to Cloud to the driver’s human machine interface (HMI).

### 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="d20603e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d20603e63 ">To create a decision matrix:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d20603e63 ">Rule Engine Designer</td>

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

1. In the App Launcher, find and select **Lookup Tables**.
2. Click **New**.
3. Select **Decision Matrix**.
4. Click **Next**.
5. For Name, enter DTC Code Map.
6. Select **Standard** as the type.
7. Save your changes.
8. Go to the **Related** tab.
9. On the Decision Matrix Versions tab, click **New**.
10. Enter a name.
11. Save your changes.
12. On the Matrix tab, click **Add Column**.
    1. For the first column header name, enter the API name of the field in the DTC Mapping custom name that stores the name of a DTC code.
    2. For Type, select **Input**.
    3. For Data Type, select **Text**.
13. Click **Add Column**.
    1. For the second column header name, enter the API name of the field in the DTC Mapping custom name that stores the estimated time.
    2. For Type, select **Output**.
    3. For Data Type, select **Number**.
14. Click **Add Column**.
    1. For the third column header name, enter the API name of the field in the DTC Mapping custom name that stores the maximum cost of a repair.
    2. For Type, select **Output**.
    3. For Data Type, select **Currency**.
15. Click **Add Column**.
    1. For the fourth column header name, enter the API name of the field in the DTC Mapping custom name that stores the minimum cost of a repair.
    2. For Type, select **Output**.
    3. For Data Type, select **Currency**.
16. Click **Done**.
17. Click **Save**.
18. Click **Add Row**.
19. Click on a row.
20. Enter the details.
21. Repeat the steps for all the DTC codes that you want to process for predictive maintenance.
22. Click **Save**.
23. Click **Activate**.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-automotive-264-0-0-production-enus/55098325-b838-4fed-9e79-8cfa2d7b33a3/images/icon_example.png)

Example

Neo Motors creates a decision matrix with these values.

   
| DTC Code Name | Estimated Time (in days) | Minimum Repair Cost | Maximum Cost |
| --- | --- | --- | --- |
| P0001 | 0.5 | $280 | $700 |
| P00002 | 1 | $450 | $600 |
| P0003 | 1.5 | $800 | $1200 |