Exercise - Use routing rules to assign cases to specific queues

Completed

Lately there has been an influx of cases where there have been problems regarding specific cases that need to be escalated. You decide that it would be more efficient if cases were able to be routed into either the Gold, Silver, or Bronze queues based on the service level of the case.

Learning objectives

At the end of these exercises, you'll be able to accomplish the following objectives:

  • Create a Routing Rule

  • Make necessary table customizations needed

  • Consume the Routing Rule in the Application

Estimated time to complete this lab: 15 to 20 minutes

High-level steps

  • Create a case routing rule

  • Create routing rule items by specifying criteria for:

    • Routing gold cases to the Gold Queue

    • Routing silver cases to the Silver Queue

    • Routing bronze cases to the Bronze Queue

  • Verify the routing rule works properly

Create a case routing rule

  1. Open the Customer Service admin center application.

  2. Using the navigation on the left, select Routing.

  3. Locate Basic routing rule sets and select Manage.

  4. From the command bar, select New to create a new routing rule set.

  5. Set the Name field to Service Level Routing.

  6. Select Save.

  7. Under the Rules Items sub grid, select + New Rule Item.

  8. In the Name field, enter Route Gold Cases.

  9. Under the Rule Criteria section, select the Add button and select Add Row.

  10. Configure the condition are follows:

    • Select the Case table.

    • Choose the Service Level field.

    • Set the operator to Equals.

    • Set the value to Gold.

  11. Under the Rule Criteria section, add the criteria for the Then conditions:

    • For the Route To field, select Queue.

    • For the Add to Queue field, select the Gold queue.

    Your completed rule item should resemble the image below:

    Screenshot example of a Gold Customer Routing Rule.

  12. Select Save and Close to complete the rule item.

  13. Under the Rules Items sub grid, select + New Rule Item.

  14. In the Name field, enter Route Silver Cases.

  15. Under the Rule Criteria section, select Add and select Add Row.

  16. Configure the condition as follows:

    • Select the Case table.

    • Choose the Service Level field.

    • Set the operator to Equals.

    • Set the value to Silver.

  17. Under the Rule Criteria section, add the criteria for the Then conditions:

    • For the Route To field, select Queue.

    • For the Add to Queue field, select the Silver queue.

      Your completed rule item should resemble the image below:

      Screenshot example of a Silver Case Routing Rule.

  18. Select Save and Close to complete the rule item.

  19. Under the Rules Items sub grid, select + New Rule Item.

  20. For the Name field, type Route Bronze Cases.

  21. Under the Rule Criteria section, select Add and choose Add Row.

  22. Configure the condition as follows:

    • Select the Case table.

    • Choose the Service Level field.

    • Set the operator to Equals.

    • Set the value to Bronze.

  23. Under the Rule Criteria section, add the criteria for the Then conditions:

    • For the Route To field, select Queue.

    • For the Add to Queue field, select the Bronze queue.

    Your completed rule item should resemble the image below:

    Screenshot example of a Bronze Case Routing Rule.

  24. Select Save and Close to complete the rule item.

  25. Select Activate to confirm the activation.

Customize the case for interactive display form to display the cases service level

In this exercise, you'll modify the case for interactive experience form to display cases in the Customer Service Hub application. If you're going to be working with the Customer Service workspace application, you can use these same steps to customize the case for multi-session experience form.

  1. Open a new tab in your current browser session.

  2. Navigate to Power Apps.

  3. Ensure that you're working in the environment that you want to modify the case form in.

  4. Using the navigation on the left, expand Dataverse and select Tables.

  5. Locate and open the Case Table.

  6. With the Case Table open, under Data experiences, select Forms.

  7. Open the Case for Interactive Experience form.

  8. On the left side of the screen, select the table columns button to display the list of available columns for the table.

  9. Locate the Service Level column.

  10. Select and drag the Service Level column and place it below the Entitlement field.

  11. Select Save icon to save your changes to the form.

  12. Select the Publish icon to publish your changes to the form.

Verify the routing rule works properly

  1. If necessary, open the Customer Service Hub application on a new browser.

  2. Using the Site Map, select the Wrench icon to navigate to cases.

  3. On the command bar, select New Case.

  4. Complete the case as follows:

    • Case Title: Domestic Delivery Issue

    • Customer: A. Datum Corporation (sample)

    • Subject: Delivery

    • Case Type: Problem

    • Origin: Phone

    • Service Level: Gold

  5. Select Save.

  6. Select Save & Route button in the command bar.

  7. Select Route to confirm that you want to apply the new routing rule to that case.

  8. Using the Site Map navigate to Queues.

  9. Under the Queue field, change the queue to Gold.

  10. In the view selector, verify the view displays Cases available to Work On to all cases that could be selected from the queue.

  11. You should see the Domestic Delivery Issue case you created in this queue.