---
schema_version: "1"
id: d4388f8d76b86c1a9c09e35aafe3e7262805a02b365664dbb96aab1206739049
title: Run Assignment Rules for Einstein Case Classification
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/cc_service_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.cc_service_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 660a4786708a8a4aafacc3d28bb4b1614fcb3114350863b0bbba4a4e16ede06a
description: When Einstein Case Classification automatically saves predicted field values to a case, Einstein Case Routing can use your existing case routing logic to route the case to the right service rep. You need the Service Cloud Einstein add-on license to use Einstein Case Routing.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# Run Assignment Rules for Einstein Case Classification

When Einstein Case Classification automatically saves predicted field values to a case, Einstein Case Routing can use your existing case routing logic to route the case to the right service rep. You need the Service Cloud Einstein add-on license to use Einstein Case Routing.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=service.einstein_service_intro.htm&amp;language=en_US" target="_blank">View supported editions</a>.</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="d71242e58">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d71242e58 ">To build and manage Einstein Case Classification and Einstein Case Wrap-Up:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d71242e58 ">
              <p>View Setup</p>
              <p>AND</p>
              <p>Customize Application</p>
              <p>AND</p>
              <p>Manage Profiles and Permission Sets</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Edit on cases OR Modify All Data</p>
            </td>

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

1. From Setup, enter Einstein Classification in the Quick Find box, and then select **Einstein Classification**.
2. Under Settings, choose whether to [run case assignment rules](https://help.salesforce.com/s/articleView?id=service.customize_leadrules.htm&type=5&language=en_US), [run skills based routing](https://help.salesforce.com/s/articleView?id=service.omnichannel_skills_based_routing_how_it_works.htm&type=5&language=en_US), or both.
    
    ![Run rules](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/support_intelligence/images/case_classification/cc_service_rules.png)
    
    If your org uses both case assignment rules and skills-based routing rules, you can select both options. Make sure that the rules are mutually exclusive.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/images/icon_note.png)
    
    Note If you elect to run case assignment or skills-based routing rules, but no rules are defined, the cases aren't routed. To learn how to define the rules, see [Set Up Assignment Rules](https://help.salesforce.com/s/articleView?id=service.creating_assignment_rules.htm&type=5&language=en_US) or [Routing with Skills-Based Routing Rules](https://help.salesforce.com/s/articleView?id=service.omnichannel_attribute_based_routing.htm&type=5&language=en_US).

If Automate Value is turned on for a field in your model, Einstein Case Classification automatically updates the case field when the prediction meets your confidence threshold. When a case is updated in these circumstances, Einstein Case Routing then runs the routing rules that you’ve selected on the Einstein Classification Setup page. If you don’t select a rule option, Einstein doesn’t route the case.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/images/icon_example.png)

Example Suppose you select the option to run case assignment rules for Einstein Case Classification. You turn on Automate Value for the Reason field and set the confidence threshold to 90. When a new case is created, Einstein analyzes it and predicts the case reason with 93% confidence. Since the prediction’s confidence is above the field’s threshold, Einstein updates the Reason field and saves the case. Einstein then runs your existing case assignment rules on the newly updated case.

If you use any other logic for your queue-based or skills-based routing, or you have an external routing implementation, use platform events to subscribe to [AIUpdateRecordEvent](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/sforce_api_objects_aiupdaterecordevent.htm). After you get notified of Einstein’s changes through AIUpdateRecordEvent, rerun your routing logic.

#### See Also

- [Subscribing to Platform Events](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_subscribe.htm)