---
schema_version: "1"
id: 5c56b5dc40da70490260403696d2080907c6c010f53cb864f1845fb2e5b24689
title: Create an Expression Set 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_expression_set.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.auto_connected_vehicle_predictive_maintenance_expression_set.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 04d6e0dbc046abe1dfce133127230124ab89acf2346d6aebd013e744516a4047
description: Create an expression set that filters the estimated cost and time required for a repair based on the diagnostic trouble code (DTC) shared by Qualcomm’s Car to Cloud system via Mulesoft. The result is shared with the driver in real time based on which the driver can request for available slots at their nearest service center.
products:
  - Automotive
release: "264"
---
# Create an Expression Set for Predictive Maintenance

Create an expression set that filters the estimated cost and time required for a repair based on the diagnostic trouble code (DTC) shared by Qualcomm’s Car to Cloud system via Mulesoft. The result is shared with the driver in real time based on which the driver can request for available slots at their nearest service center.

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

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

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

1. In the App Launcher, find and select **Expression Sets**.
    1. Click **New**.
    2. Enter a name.
        
        For example, Repair Estimate Based on DTC.
    3. Save your changes.
2. Click **Expression Set Versions**.
    1. Click **New**.
    2. Enter a version name.
    3. Enter a version number.
    4. Save your changes.
3. Click **Open in Expression Set Builder**.
    
    1. Drag and drop the **Lookup Table** element to the canvas.
    2. For Lookup Table Details, select **DTC Code Map**.
    3. Select **DTC Name** as an input variable.
    4. Select these as output variables.
    
    - Maximum Repair Cost
    - Minimum Repair Cost
    - Estimated Time in Days
    
    1. Drag and drop the **Calculation element** to the canvas after the Lookup Table element.
    2. For Formula, enter “USD”.
    3. For Output Variable, select a local variable **Currency**.
    4. Save your changes.
4. Activate the expression set.