Introduction

With service-level agreements (SLAs) configured in the Customer Service Hub, you can

Prerequisites

Review the following requirements before configuring SLAs for your organization:

Step 1. Configure the SLA Settings in the Customer Service admin center-> Operations -> Service Terms -> Other SLA Settings (Manage).

 SLA Settings

Note. The dropdown will show a list of entities for which you've activated the SLA configuration, including both out-of-the-box (OOB) entities and custom entities. Refer to the screenshot below where I've enabled SLA for a custom entity.

Please refer to the link for instructions on enabling SLA for an entity: Enable Entities for Service-Level Agreements in Dynamics 365

Step 2. Create the following fields on the case entity.

Create SLA KPIs

Step 3. Create the following SLA KPIs in the Customer Service admin center (Operations -> Service Terms -> SLA KPIs).

Customer Service

Admin center

Create New SLAKPIs with the following screenshot.

Screenshot

General

Related

Resolve by KPI

Activate all the SLA KPIs.

Activate

Step 4. Add SLA Timers to Case Form.

Step 5. Create the "Patient Services SLA" (Operations -> Service Terms -> Service-level agreements (SLAs))

Patient Services SLA

Create a New SLA Record and save it.

SLA Record

Create an SLA Item from the SLA Item subgrid.

Item subgrid

 SLA Item

After saving the SLA Item record, proceed to click on "Configure Action." This action will direct you to Microsoft Flow, where you can modify the flow as depicted in the screenshot below.

Configure Action

Is Near Non-Compliance block add the Update a row action give the table, Row ID, and set the Assign Case SLA Status field to Near Noncompliance.

Non-Compliance block

Do for all Is Succeeded (Set Assign Case SLA Status to Succeeded) and is Noncompliant (Set Assign Case SLA Status to Noncompliant).

Similarly, I have created additional SLA items using the same method.

Set Assign Case

Now, when the Case is assigned within the set amount of time, the Resolve in and Assign case By will display as Non-complaint.

 Case is assigned

Note. One last thing to keep in mind when working with SLAs is that if you are importing SLAs to an environment with a Solution and they already exist in the target environment, the SLAs will be deactivated after you import the solution. If you are activating the SLAs via the user interface, the only option is to activate them one at a time. The recommendation is to avoid reimporting SLAs unless they have changed and keep them in their own solution.