MSBA-282 · Lesson 3 of 12 · 20 min

Queues

▶ Video coming soon A video version of this lesson is on the way.

On the Monday after Corentin's warranty mailbox was connected in the test environment, Wendeline Achterberg, the service team lead at head office, sat with Mirela and drew the service team on a whiteboard. Twelve names, three locations, and a tangle of arrows showing who picked up what. Head office agents answered the Orders and service queue. North and South branch counter agents mostly helped people standing at the counter but also took phone calls about orders. Corentin took warranty work, and two senior agents handled the three big fishing fleets on fixed contracts, because those customers expected to speak to someone who knew their boats. "The arrows are the problem," Wendeline said. "Half of them are favours."

Queues are how Dynamics 365 Customer Service replaces favours with structure. A queue is a list of work waiting for someone, and the design of queues decides who sees what, who can take it and how managers spot work that nobody has touched. This lesson covers the basic queue model in Customer Service. The next course in the program covers unified routing, which adds workstreams, assignment rules and capacity to queues for organizations that need automatic distribution.

What a queue is

A queue is a container for work items. The items can be cases, activities such as emails and phone calls, or rows from any table that has been enabled for queues. The link between a record and a queue is a queue item, a separate row that records which queue the item is in, when it entered, and who, if anyone, is working on it. Because the queue item is separate, one case can appear in a queue without changing its owner, and the same record can be moved from one queue to another while its history stays intact.

Every user and team has a default queue created automatically. A table can be set so that records are moved to the owner's default queue when they are created or assigned, which gives each person a personal list of everything assigned to them. Shared queues, such as Orders and service, are created by administrators and represent a type of work rather than a person.

Diagram. On the left, three cases and an email. In the middle, the Warranty claims queue containing queue items that point to each record. On the right, a representative who picks an item, which sets Worked by on the queue item.
A queue holds queue items; each item points to a record and records who is working on it.

Public and private queues

A queue is either public or private. Anyone with the right privileges can see items in a public queue. A private queue shows its items only to its members, who are added to the queue directly. Private queues suit work that should be visible to a defined group: Kestrelbay's Fleet support queue holds cases for the three fleet contract customers, and only Wendeline and the two senior agents who handle those customers are members. Other representatives can still see a fleet case if their security role lets them read it, but it does not appear in their queue lists and they cannot pick it from there.

QueueTypeMembers or audienceMailbox
Orders and servicePublicHead office agentsThe former orders mailbox
Warranty claimsPublicCorentin plus two trained agentsThe warranty mailbox
Fleet supportPrivateWendeline and two senior agentsNone; cases routed from other queues
North counterPublicNorth branch teamNone
South counterPublicSouth branch teamNone

Mirela advised Kestrelbay to keep the number of queues small. Each queue is a list that someone must watch, and a queue that nobody watches is worse than no queue, because work goes there to be forgotten. Five queues for twelve agents was enough. She also suggested naming queues after the work rather than the people, so that a holiday or a new hire did not mean renaming anything.

Queue mailboxes

A queue can have its own email address and mailbox. Email sent to that address arrives as an email activity in the queue, and, as lesson 2 showed, an automatic record creation and update rule on that queue can turn it into a case. The mailbox is configured like any other: it needs an email server profile, approval, and a successful test and enable step before server-side synchronization will process it. A setting on the queue's mailbox controls which incoming email is turned into activities, for example all email or only email from known senders, so a queue mailbox can be noisy or selective.

The Orders and service queue had been connected to the old orders mailbox in phase one. Phase two added the warranty mailbox to the Warranty claims queue. Mirela checked one detail with Kestrelbay's Exchange administrator: the address customers already used had to stay the same, because the warranty address was printed on every engine warranty card Kestrelbay had sold for years.

Working items in a queue

Representatives see queues through views of queue items. The standard views separate items available to work on, items the current user is already working on and all items in the queues they can see. From a queue item a representative uses a small set of commands.

CommandWhat it does
PickSets the representative as the person working on the item, and can assign the record to them and remove it from the queue
ReleaseClears the worked-by value so someone else can pick the item
RouteMoves the item to another queue or assigns it to a user or team
RemoveTakes the item out of the queue without closing the record
Queue item detailsShows and edits the queue item, including who is working on it

The worked by value is what stops two people answering the same customer. When Corentin picks a warranty claim, the queue item shows that he is working on it, and the item drops out of the view of available items for everyone else. If he goes on leave, Wendeline can release his items so they reappear. Mirela taught one habit early: pick before you reply. A representative who answers an email from the queue without picking it leaves the item looking untouched, and the next person may answer it again.

Picking can be configured to remove the item from the queue at the same time, which keeps shared queues short. Kestrelbay chose that behaviour for Orders and service, where speed mattered, and the opposite for Warranty claims, where Ravi wanted every claim to stay visible in the queue until it was resolved so that he could see the whole workload at a glance.

Getting work into queues

There are several ways a case reaches a queue. A representative can add it with the add to queue action. A mailbox and its creation rule put new cases into the queue that owns the mailbox. Power Automate flows can add items when conditions are met. And routing rule sets, the basic routing feature of Customer Service, can send cases to a queue, a user or a team based on conditions about the case, such as its subject, priority or customer.

A routing rule set contains rule items, each with conditions and a destination, evaluated in order. Only one rule set is active at a time. Cases created by automatic record creation can be routed as they are created, and a representative can apply the rules to a case manually with a route action. Kestrelbay's rule set was short: cases whose customer is one of the three fleet contract accounts go to Fleet support; cases with the Warranty subject go to Warranty claims; everything else stays where it arrived. For organizations that need assignment to individuals by capacity, skills or presence, Microsoft directs new designs to unified routing, which uses advanced queues with assignment methods and operating hours. Mirela noted that as a later decision.

A decision list. Rule 1: customer is a fleet contract account, send to Fleet support. Rule 2: subject is Warranty, send to Warranty claims. Otherwise: stay in the arrival queue. Rules are checked from top to bottom and the first match wins.
Kestrelbay's basic routing rule set: checked in order, first match wins.

Enabling other tables for queues

Cases and activities can use queues out of the box. A custom table can be enabled for queues in its table properties, after which its rows can be added to queues and picked like cases. Kestrelbay's Warranty claim table was a candidate: once a claim had been sent to a manufacturer, the follow-up work belonged to the claim rather than the case. Mirela enabled queues on it in Kestrelbay-Test and created a view of claim queue items for Corentin. She warned the team that the queue setting cannot be turned off again once it has been turned on for a table, which is true of several table options, so it should only be enabled for a clear purpose.

Worked problem

Finding the forgotten cases

In the second week of the test, Ravi notices three cases in Orders and service that are four days old and have no reply. Each shows a worked-by name. What happened, and what should change?

Show solution
  1. Open the queue item details for each case and read the worked-by user and the date the item was picked.
  2. Check whether those users replied: the timelines show no outgoing email, so the cases were picked and then left.
  3. Ask the users: two had picked items to read them on a busy morning, then moved on; one was on leave.
  4. Release the three items so they appear as available again.
  5. Add a view of items picked more than one business day ago with no activity, for Wendeline to check daily.

Answer: Picking had been used as a bookmark rather than a commitment. Wendeline now releases stale items each morning, and Kestrelbay's rule is to pick only what you will answer before lunch.

Queues and service level agreements

Queues show where work is; they do not by themselves measure how long it has waited against a promise. That is the job of service level agreements, which lesson 5 covers. The two work together. A view of the Fleet support queue sorted by time remaining on the first response target shows a senior agent what to do next. Ravi liked that idea more than any other part of the morning, because it turned the queue from a pile into a list in order.

Supervisors also use queues to balance work. If the South counter queue fills up on a Saturday morning in spring, a supervisor can route items to head office, where agents are at their desks. Wendeline asked whether a case could be in two queues at once. Mirela explained that adding a case to another queue from the workspace normally moves it there rather than copying it, and that Kestrelbay would keep it that way, because one case in one queue keeps the question of who should act on it simple.

Security, ownership and supervision of queues

Queues are records too, with owners and security. A queue is owned by a user or a team, and the privileges in a security role decide who can read a queue, add items to it and change its settings. Kestrelbay gave the service manager role full control of queues, the counter agent role the ability to read queues and work their items, and nobody else the right to create new queues. That last rule was Wendeline's idea, after hearing that a previous employer had ended up with sixty queues, most of them empty and a few of them full of forgotten work.

Queue membership and team membership are different things. A private queue's members are added to the queue itself; a branch team in Dataverse is a group of users used for ownership and security. Kestrelbay kept them aligned by habit rather than by setting: when someone joined the North branch team, Wendeline also added them to any private queue the branch used. She kept a checklist for new starters with both steps on it.

Supervision is mostly about age. Wendeline built three views of queue items that she checked at the start of each day: items that had entered a queue more than one business day ago and were still unpicked, items picked more than one business day ago with no activity since, and items in the intake queues with no subject. Each view answered a question that the queue list alone could not. Together they took her about ten minutes, and they replaced the walk around the office she used to make to ask who was dealing with what. When lesson 11 turned these views into a dashboard, the same three questions became its tiles.

Common mistakes

  • MistakeCreating a queue for every person or every small type of request.

    InsteadKeep a few queues named after the work, and make sure each one has someone watching it.

  • MistakeAnswering items from a shared queue without picking them.

    InsteadPick first, so the worked-by value shows others that the item is taken.

  • MistakeUsing a private queue to protect sensitive data.

    InsteadUse security roles, business units and column security for data protection; private queues only control who sees the queue list.

  • MistakeEnabling queues on every custom table just in case.

    InsteadEnable queues only where a table needs shared work lists, because the option cannot be turned off.

Summary and key terms

  • A queue holds work items through queue items, which record when an item entered and who is working on it.
  • Public queues are visible to anyone with privileges; private queues show items only to members.
  • A queue can have a mailbox, and creation rules on that queue turn incoming email into cases.
  • Representatives pick, release, route and remove queue items; picking sets the worked-by value.
  • Basic routing rule sets send cases to queues, users or teams by conditions; unified routing adds automatic assignment.
Queue
A list of work items, such as cases and activities, waiting to be handled.
Queue item
The row that links a record to a queue and records who is working on it.
Private queue
A queue whose items are visible in queue lists only to its members.
Worked by
The queue item value showing which user is working on the item.
Routing rule set
A basic routing configuration whose rule items send cases to queues, users or teams.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why does Kestrelbay keep Warranty claims items in the queue after they are picked?

    Show answer

    Ravi wants every open claim visible in the queue so he can see the whole warranty workload.

  2. What is the difference between Release and Remove on a queue item?

    Show answer

    Release clears the worked-by value so others can pick the item; Remove takes the item out of the queue.

  3. How many routing rule sets can be active at once in basic routing?

    Show answer

    One.

  4. Name two ways a case can reach a queue.

    Show answer

    For example, a representative adds it, a creation rule on the queue mailbox creates it there, a routing rule set sends it, or a flow adds it.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz