Create and manage capacity profiles

Applies to: Dynamics 365 Contact Center—embedded, Dynamics 365 Contact Center—standalone, and Dynamics 365 Customer Service

You can create capacity profiles and assign them to agents to define the types and amount of work they can take. Capacity profiles contain information, such as the amount of work, concurrent or daily capacity, and whether other channels are affected.

  • Capacity management helps administrators create various capacity profiles and associate users with matching profiles. You can assign multiple capacity profiles to users.
  • The administrator can block the assignment of extra work to the agents when they're working on certain channels, such as phone calls.
  • The supervisor can override the agent's configured capacity and assign work to user manually.
  • The agent capacity might display a negative value when the agent manually picks a work item or is assigned a conversation forcibly that results in negative capacity. This is applicable for both capacity profiles and unit-based capacity.
  • In the assignment rule, you can create a rule to find an agent whose capacity profile matches that of the work item.
  • We recommend that you configure either capacity profiles or capacity units in your organization, but not both.
  • The capacity isn't considered when an agent takes part in consult or monitors a conversation.

You might find it helpful to configure profile-based capacity in the following scenarios:

  • Your agents vary in experience and skill set.
  • Agents need an upper limit on the amount of work assigned to them.
  • Work items are of different complexity and assigned from different channels.
  • Assignment in one channel impacts the assignments of another channel. For example, you can't assign another work to agents who are on phone calls.

Important

This feature is intended to help customer service managers or supervisors enhance their team’s performance and improve customer satisfaction. This feature is not intended for use in making—and should not be used to make—decisions that affect the employment of an employee or group of employees, including compensation, rewards, seniority, or other rights or entitlements. Customers are solely responsible for using Dynamics 365, this feature, and any associated feature or service in compliance with all applicable laws, including laws relating to accessing individual employee analytics and monitoring, recording, and storing communications with end users. This also includes adequately notifying end users that their communications with agents may be monitored, recorded, or stored and, as required by applicable laws, obtaining consent from end users before using the feature with them. Customers are also encouraged to have a mechanism in place to inform their agents that their communications with end users may be monitored, recorded, or stored.

Create a capacity profile and assign to users

Create a capacity profile, and use it in a workstream for routing work items.

For a capacity profile, you can add or remove users and edit any setting except reset frequency. If you no longer require the profile, you can delete it.

  1. In the site map of Customer Service admin center, select User management in Customer support. The User management page appears.

  2. Select the Manage option for Capacity profile.

  3. On the Capacity profiles page, select Create new.

  4. On the Details tab of the Create capacity profile dialog box, enter the following details:

    • Profile name: Name for the capacity profile.

    • Work item limit: Number of units of the work type that you can assign to the agent.

    • Reset frequency: Period after which capacity consumption is reset for agents. Select one of the following options:

      • Immediate: Capacity is reset immediately.
      • End of day: Capacity is reset after the agent's shift ends even if the agent doesn't close all the assigned conversations. The open conversations aren't counted in the work item limit and the agent is assigned new work items in their next shift.

      Once configured, you have to recreate the capacity profile if you want to change the reset frequency.

    • Assignment blocking: Set the toggle to Yes. When the work item limit is met, the agent isn't assigned a new work item automatically.

    Create a capacity profile.

  5. On the Users tab, select Add user, and in the Users list, select the users. Alternatively, use the Search option to search for and add the user.

    Important

    Users must be configured as a bookable resource to be assigned the capacity profile. More information: Manage users.

  6. Select Add user. The capacity profile is assigned to the user.

Configure agent-specific work limits in capacity profiles

Agents in your contact center might need different work item limits for the work associated with the same capacity profile based on their experience and expertise. You can allocate different limits to agents through capacity profiles.

For selective agents, you can define a work item limit that's different from the default limit by using the custom limit option in the capacity profiles.

To set the custom limits, do the following steps:

  1. In Customer Service admin center, select User management under Customer support, and on the page that appears, select Manage for Enhanced user management.
  2. In Contact center users, select the agents for whom you want to allocate a custom limit, and then select Update user attributes > Update capacity profiles.
  3. On the Update Capacity profiles pane, in Capacity profiles, select a profile, and in Custom limit, enter a value according to your business need.
  4. Select Add to all. The capacity profile with the custom limit is added to the users in the list.
  5. Repeat the step 3 to update more profiles if you need to.
  6. Save and close. The custom limit is denoted with an arrows icon to help visually differentiate among users with default and custom limits.
  7. Inform the affected agents to refresh their browser to update their presence. The system assigns the work items based on the agents updated capacity and presence.
  8. To reset the custom limit, set the custom limit field to empty and save the changes.

The configuration updates can take up to 15 minutes to sync.

You can customize the Agents report in the Omnichannel real-time analytics dashboard to see the custom limits.

How agent-specific limits work

Typically, the work assignment takes place according to the individual agent's default work item limit in the capacity profiles.

However, if you configure custom limits through capacity profiles, then agents receive work items according to the custom limit. More details are as follows:

  • The custom limit might be lower or higher than the default limit and remains applicable for the selected agents until you manually reset it to the default limit.

  • The system applies the custom limit to new work assignments only. If the custom limit is lower than the used limit, the system doesn't reassign the currently assigned work items for the agents.

  • The other agents with the same capacity profile for whom the custom limit isn't configured have the default limit. Any changes in the default limit affects these agents. However, the agents with custom limit remain unaffected.

An example of the custom limit is as follows:

Ana, an agent at Contoso Coffee, is an expert in handling Return queries for Café A 100 machine. Henry, who has joined Contoso recently, is learning the nuances of Café A 100 machine. Eugene, the admin at Contoso has configured a capacity profile for “Return orders” with a default limit of two conversations per day. Eugene assigns the “Return orders” profile with the default limit to Henry. Eugene allocates a custom limit of five to Ana in the “Return orders” profile. Ana receives maximum of five conversations per day from the “Return orders” profile while Henry receives a maximum of two conversations only in a day for the same profile.

Update work limits using OData

Alternatively, you can use an OData call to update the custom limits by specifying a value for the msdyn_maxunits field in the msdyn_bookableresourcecapacityprofile entity. To reset the custom limit, specify the value as null for the msdyn_maxunits field.

A sample code block to update the custom limit as 5 is as follows.

var data = {msdyn_maxunits: 5} // the value denotes the custom limit
 Xrm.WebApi.updateRecord("msdyn_bookableresourcecapacityprofile", "<Bookable Resource Capacity Profile ID>", data).then (
    function success(result) {
        console.log("Differentiated units updated");
    },
    function (error) {
        console.log(error.message);
        // handle error conditions
    }
);

Set capacity profiles for workstreams

After you create the capacity profiles, configure the following settings to assign work items to agents at runtime:

  • Set the capacity profile in the work distribution settings. The system applies the profile to all the work items routed through the workstream. More information: Configure work distribution
  • Set the capacity profile in a classification ruleset for the workstream as a rule output. Append the new capacity profile to the work item. During assignment, unified routing looks for an agent who has available capacity in both the profiles, the default profile from the workstream and the appended profile from the classification. More information: Create classification rulesets based on capacity profiles

You need not define assignment rules specific to capacity profiles at queue level to find agents with matching capacity profiles. If capacity profile is attached to a work item, then the system ensures that the assigned agent has the matching capacity profile.

Release capacity for agents

For the system to efficiently manage agent workload, you must automatically release the agent capacity when agents complete their assigned work items. Based on system settings, the agent capacity is released in the following manner:

  • Conversation: When the agents end the conversation and close their session.

  • Case: When the agent resolves the case. Capacity is also released automatically when agent cancels the case or removes their assignment by clearing their name from the Worked By field on the Queue Item details dialog.

  • All records and activities: Capacity isn't released automatically for activities, such as email, that's configured for record routing. To release the agent capacity, do one of the following steps:

    • Deactivate the assigned queue item; the associated work item is closed.
    • If you need to keep the record open, go to the queue item dialog and remove the agent name from the Worked By field. The automatic assignment tries to reassign the item to an agent in the queue.

    Screenshot of remove agent name from Worked By field to release capacity.

Escalation profiles

The escalation profile is used when a chat conversation is escalated to a voice or video call. This profile is available out of the box and can't be edited. When an agent escalates a chat to a voice or video call, a new session starts and an escalation profile is attached to the work item, so that the agent doesn’t receive a new chat or voice call until the current call with the customer is over. If the agent transfers the video or voice call to another agent, the escalation profile becomes applicable to the new agent.

Escalation profile settings.

How to set multiple capacity profiles in a single workstream

Let us take a scenario where you want to route cases as follows:

  • Agents can work on maximum two high priority cases per day.
  • Agents can work on maximum four cases of normal priority.
  • But the agent should never be assigned more than five cases per day of high priority and normal priority.
  1. Create the following profiles:

    • High-priority profile: Two cases per day, reset at the end of day
    • Normal-priority profile: Four cases per day, reset at the end of day
    • Total-capacity profile: Five cases per day, reset at the end of day
  2. In the workstream, set the "Total-capacity profile" as the default profile.

  3. Use the classification rules to set the capacity profiles for the work items as "High-priority profile" or "Normal-priority profile" according to the priority of the case.

  4. Ensure that the agents have all the three profiles.

Runtime behavior of multiple capacity profiles in a single workstream

When a work item is labeled with multiple capacity profiles, the assignment strategy considers the agent who matches all the required capacity profiles.

  1. When the high priority work item comes, it's labeled with "Total-capacity profile" and "High-priority profile".
  2. An agent who has capacity in both these profiles only is selected. When the work item is assigned, capacity is consumed from both the profiles.
  3. Similarly, for normal priority cases, the capacity is consumed from both "Total-capacity profile" and "Normal-priority profile".

Create workstreams
Manage users in Omnichannel for Customer Service
Map role personas
Manage historical data of capacity updates for agents