MSBA-283 · Lesson 2 of 12 · 19 min
Workstreams and queues
▶ Video coming soon A video version of this lesson is on the way.
The design table from the first planning session named three queues and a set of skills. Turning that table into routing meant building two kinds of object that do most of the work in unified routing: workstreams, which describe how a kind of work is distributed, and queues, which hold work until someone takes it. Mirela Dragomir-Hale built both in Kestrelbay-Test over two afternoons, with Ravi Castellane-Duff beside her for every decision that changed how his team would work.
This lesson follows that build. It covers the MB-230 skills to configure workstreams, configure user settings, manage capacity profiles and configure queues, and it ends with a checklist that Mirela reused on every later routing change.
What a workstream holds
A workstream is a container for the routing and work distribution settings that apply to one kind of work. Every work item belongs to exactly one workstream, and the workstream decides how that item is routed and how it is handed to people. A workstream has a type that is chosen when it is created and cannot be changed afterwards: messaging for chat and digital messaging channels, voice for phone calls, and record for rows of Dataverse tables such as cases and emails.
Inside the workstream sit four groups of settings. The intake or channel group says what enters the workstream: an intake rule on a table for record workstreams, or channel instances such as a chat widget or a phone number for messaging and voice. The routing rules group holds the classification and route-to-queue rulesets described in lesson 1. The work distribution group decides how work reaches people. The advanced settings group holds the session template and notification templates that shape what representatives see, the fallback queue, and other options that vary by workstream type.
Work distribution settings
The work distribution settings are where most design decisions live, so Mirela took Ravi through them one by one.
Work distribution mode is either push or pick. In push mode, unified routing assigns each work item to a representative, who receives a notification and accepts it. In pick mode, work waits in the queue and representatives choose what to take, from the Inbox or a queue view. Voice workstreams use push, because a ringing call cannot wait for someone to browse a list. For Kestrelbay's cases, Ravi chose push for the Warranty and Contract accounts work, where the right person mattered most, and kept pick on a small Counter requests workstream for items that whoever was at the counter could handle.
Capacity says how much work a representative can hold at once. Unified routing offers two models. Unit-based capacity gives each representative a number of units and each workstream a cost in units: if a representative has 100 units and a chat costs 30, they can take three chats. Profile-based capacity uses capacity profiles, each of which sets a maximum number of work items of that profile a representative can hold. A workstream names the capacity profile it consumes, and each representative is given the profiles that apply to them. Profile-based capacity is easier to read and is the model Microsoft's newer documentation favors.
Allowed presences list the presence statuses in which a representative can receive work from this workstream. Representatives usually receive pushed work only when Available, and sometimes when Busy if they still have capacity. Presence statuses include Available, Busy, Busy - DND, Away and Offline, and administrators can add custom presences that map to one of those base statuses, such as a Training status that behaves like Away.
Default skill matching algorithm decides how skills are compared when a work item needs skills and the queue uses a built-in assignment method: exact match requires the representative to have every required skill at the required proficiency, while closest match ranks representatives by how closely their skills fit. Lesson 3 returns to the difference.
Messaging and voice workstreams add further settings. A messaging workstream can keep the same representative for the whole of a persistent conversation, close a conversation automatically after a period of inactivity, and block capacity for wrap-up, which holds a representative's capacity for a set time after a conversation ends so they can finish notes. The least active assignment method uses the wrap-up setting when it decides who has been idle longest.
| Setting | Options | Kestrelbay choice for warranty cases |
|---|---|---|
| Type | Messaging, voice, record | Record (Case table) |
| Work distribution mode | Push or pick | Push |
| Capacity | Unit-based or profile-based | Profile-based, profile Email case |
| Allowed presences | Any base or custom presence | Available and Busy |
| Skill matching | Exact match or closest match | Exact match |
| Fallback queue | Any queue of the same type | Orders and service |
Capacity profiles in practice
Ravi's first instinct was to give everyone a large capacity so that no work ever waited. Mirela pushed back. Capacity is a promise about attention: if a representative can be given ten cases at once, routing will do exactly that, and the eleventh customer to write in will be served by someone already juggling ten threads. She asked how many open warranty cases a person could work on in a morning without losing track. Corentin Mbatha-Lowe, who had handled warranty claims for nine years, said six; the counter agents said three, because the counter interrupted them all day.
That answer became two capacity profiles. Email case allows six work items for the warranty specialists and is given to Corentin and the two engine-trained counter agents. Counter email case allows three and is given to everyone else. Both profiles consume work from record workstreams. A capacity profile also has a reset duration, which decides when its count starts again; it can reset when work items close, or after a fixed period, which suits work such as callbacks that should be limited per day.
Worked problem
Reading unit-based and profile-based capacity
In a future chat design, representatives have 90 units of capacity. Chat costs 30 units and a case from email costs 15 units. A representative is handling one chat and two email cases. How many more chats can they take? Separately, under profile-based capacity with a Chat profile of three, how many more chats can a representative take who already has one chat?
Show solution
- Unit-based: one chat uses 30 units and two email cases use 30 units, so 60 of 90 units are used.
- Remaining capacity is 30 units, which is enough for exactly one more chat.
- Profile-based: the Chat profile allows three chats and one is in progress.
- Email cases count against a different profile, so they do not reduce the chat count.
Answer: One more chat under the unit-based model; two more under the profile-based model. The profile-based model treats each kind of work separately, which is easier for representatives and supervisors to understand.
Configuring users for routing
Routing can only assign work to people it knows about. Each representative who receives routed work needs settings in the admin center's user management area: the capacity profiles that apply to them (or their units of capacity), their skills with a proficiency for each, the queues they belong to, and their default presence. Behind the scenes these settings are stored on the representative's bookable resource record, which the admin center creates when it is needed. Representatives also need a security role that lets them use the workspace and the routed tables, which phase one had already given the counter agent and service manager roles.
Skills deserve care. A skill is a characteristic, such as Engine warranty or French, and a proficiency scale defines the levels, such as one to five. Each representative is given the skills they have and a level for each; classification rules or machine learning give each work item the skills it needs and the minimum level. Mirela kept Kestrelbay's skill list short: Engine warranty, Contract account, French and Electronics. "Every skill you add is a skill someone has to keep up to date," she said. "If nobody owns the list, it rots, and then routing makes confident decisions from stale data." Ravi became the owner and added a skills review to his quarterly one-to-one meetings.
Queues
A queue holds work items until they are assigned or picked. Queues in unified routing have a type that matches the work: messaging, voice or records. A record workstream can only route to record queues, and so on. Each queue has members, the representatives who can receive its work, and an assignment method, which is the subject of the next lesson.
Queues have several other settings. Priority decides which queue's work a representative receives first when they belong to more than one queue; queues with equal priority are served oldest item first. Operating hours say when the queue is open, using a calendar of working hours and holidays, and overflow handling says what happens when it is closed or too full. A queue can also have a group number, which only orders queues in lists.
One point surprised Ravi. The queues in phase one, including Orders and service, were basic queues used for picking and for SLA reporting, as described in the previous course. Unified routing queues are configured in the admin center and carry members, assignment methods and overflow rules. Mirela did not recreate Orders and service; she set it up for unified routing, kept its name so that reports and habits survived, and added the Warranty and Contract accounts queues beside it.
| Queue | Type | Members | Priority | Operating hours |
|---|---|---|---|---|
| Warranty | Records | Corentin and two engine-trained counter agents | 1 | Weekdays 8 to 5 |
| Contract accounts | Records | Two named representatives | 1 | Weekdays 8 to 5 |
| Orders and service | Records | All twelve service and counter staff | 2 | Always accepting work |
| Counter requests | Records (pick) | Counter agents at both branches | 3 | Branch hours |
Ravi asked why the warranty specialists were also members of Orders and service. Mirela pointed to the priority column. When Corentin had warranty work, he would receive it first, because Warranty had priority one. When the warranty queue was empty, he could take ordinary work instead of sitting idle. The same design meant that a busy morning on warranty claims did not slow down stock questions, because the other nine people were serving Orders and service regardless.
Session and notification templates
Workstreams also decide what a representative sees when work arrives, through templates in the advanced settings. A notification template controls the pop-up shown when work is pushed: its title, the fields it shows, whether it has accept and reject buttons and how long it waits before timing out. A session template controls the session that opens when the work is accepted: which page opens first, and which application tabs open beside it. Lesson 6 covers templates in detail; at this stage Mirela only made sure each workstream pointed at a sensible default, so that a warranty case opened on the case form with the customer's vessel list beside it.
A checklist for workstreams and queues
By the end of the second afternoon, the pilot had three record workstreams and four queues. Mirela turned what she had learned into a checklist, and from then on no routing change went to production without it.
| Check | Why it matters |
|---|---|
| Workstream type matches the work and queue type | The type cannot be changed later, and routing only targets queues of the same type |
| Push or pick chosen deliberately | Push suits work that needs the right person quickly; pick suits low-stakes work anyone can do |
| Capacity reflects real attention | Routing will fill whatever capacity you give it |
| Allowed presences agreed with the team | Representatives must trust that Away and Busy - DND really stop new work |
| Every skill has an owner | Stale skills make routing confidently wrong |
| Fallback queue set | Unmatched work still reaches people |
| Queue priorities and operating hours reviewed | Priorities decide who gets what first; hours decide when overflow applies |
| Templates point at the right forms | Representatives see the record and context they need without searching |
Anouk Delacroix-Byrne, a counter agent at South branch, tested the first push workstream. A warranty case arrived as a notification, she accepted it, and the case opened with the customer's vessels on a tab beside it. She declined the second one on purpose to see what happened; it went to the next qualified person. "So I can't just ignore the hard ones any more," she said, half joking. Ravi said that was the point, and that the decline limit would stop it bouncing around for ever. The next lesson explains how routing decides who receives a work item when several people could take it.
Common mistakes
MistakeCreating a workstream of the wrong type and planning to change it later.
InsteadChoose messaging, voice or record carefully; the type is fixed once the workstream exists.
MistakeSetting very high capacity so that work never waits in the queue.
InsteadSet capacity to the amount of work a person can handle well; overloaded representatives serve customers worse.
MistakeAdding a long list of skills nobody maintains.
InsteadKeep a short skill list with an owner and review proficiency regularly.
MistakeMaking specialists members of their specialist queue only.
InsteadAdd specialists to general queues at a lower priority so they stay useful when specialist work is quiet.
MistakeUsing pick mode for work that must reach the right person quickly.
InsteadUse push mode, with skills and capacity, for urgent or specialist work.
Summary and key terms
- A workstream holds the intake, routing rules, work distribution settings and templates for one kind of work; its type is messaging, voice or record and cannot change.
- Work distribution covers push or pick mode, capacity, allowed presences and the default skill matching algorithm.
- Capacity is unit-based or profile-based; capacity profiles cap the number of work items of a kind a representative can hold.
- Users need capacity, skills with proficiency, queue membership and a suitable security role before routing can assign work to them.
- Queues have a type, members, an assignment method, a priority, operating hours and optional overflow handling.
- Push mode
- Work distribution in which routing assigns each work item to a representative.
- Pick mode
- Work distribution in which work waits in a queue until a representative chooses it.
- Unit-based capacity
- A capacity model in which representatives have units and each kind of work costs units.
- Capacity profile
- A profile that caps how many work items of a kind a representative can hold, with a reset duration.
- Allowed presences
- The presence statuses in which a representative can receive work from a workstream.
- Proficiency scale
- The set of levels used to rate how well a representative has a skill.
- Queue priority
- The setting that decides which queue a representative is served from first.
- Notification template
- The template that controls the pop-up a representative sees when work is pushed.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Why did Mirela make the warranty specialists members of Orders and service as well as Warranty?
Show answer
So they receive warranty work first, through queue priority, and ordinary work when warranty is quiet.
A representative has 100 units; chat costs 35. How many chats can they hold at once?
Show answer
Two, because three would need 105 units.
Which workstream setting holds capacity after a conversation ends so a representative can finish notes?
Show answer
Block capacity for wrap-up.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.