MSBA-282 · Lesson 2 of 12 · 21 min

Cases and the case lifecycle

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

Corentin Mbatha-Lowe has handled warranty claims at Kestrelbay for nine years. His desk is the one with three binders of engine manufacturers' warranty terms, and his inbox is the warranty mailbox that phase one left outside Dynamics 365. When Mirela Dragomir-Hale asked him to show her how a claim arrives, he opened a message from a fishing fleet's engineer: a photo of a corroded heat exchanger, a hull identification number, a purchase date that was nearly right, and a request to ship a replacement by Friday. "I read it, look up the boat, find the invoice, check the warranty dates, ask the manufacturer, and then answer," Corentin said. "If I'm away, nobody knows it's here." Ravi Castellane-Duff, standing behind them, said that was exactly the problem. A case that nobody can see is a promise nobody is keeping.

This lesson covers the case itself: the table that stores it, the columns that describe it, how cases are created by people and by rules, the statuses a case moves through and how it is resolved. Every later lesson builds on these foundations. Queues hold cases, entitlements are consumed by cases, service level agreements time cases and knowledge articles are linked to cases. If the case is poorly designed, everything that depends on it inherits the problem.

What a case is

In Dynamics 365 Customer Service a case records a customer's question, problem or request and everything done about it until it is closed. In Dataverse the table's display name is Case and its logical name is incident, a name that appears in flows, plug-ins and the API. Each case is linked to a customer, which can be an account or a contact, and it collects the emails, phone calls, notes and tasks that happen while it is open. When the case closes, it keeps that history, so the next representative who speaks to the customer can see what happened last time.

ColumnWhat it holdsKestrelbay use
Case numberAn automatically numbered identifierQuoted to customers on every email
Case titleA short description of the issueWritten as part and problem, for example Heat exchanger corrosion
CustomerThe account or contact the case is forThe marina, fleet or retail sailor
ContactThe person to talk toThe fleet engineer or marina manager
OriginHow the case arrived, such as email, phone or webUsed to compare channels in reports
Case typeQuestion, problem or requestProblem for warranty claims
PriorityHigh, normal or lowHigh for vessels unable to sail
Subject and productA category tree and the product concernedEngines and propulsion, then the part number
Entitlement and SLAThe support terms and service level that applyAdded in lessons 4 and 5
OwnerThe user or team responsibleA representative or a branch team

Mirela added two columns of Kestrelbay's own in the Kestrelbay Core solution. A lookup to the custom Vessel table, kb_vesselid, lets a representative pick the boat by its hull identification number, so warranty dates and engine models are one click away. A lookup to the Warranty claim table links a case to the formal claim made to the manufacturer, which has its own approval steps. She resisted adding more. Every extra column on the case form is a column a representative has to skip, and a column the Case Management Agent will later try to fill.

The Subject column deserves a moment. Subjects form a hierarchy maintained by administrators, and the same tree is used for cases, knowledge articles and products. Kestrelbay's tree followed the product families from the sales catalogue: Engines and propulsion, Electronics and navigation, Mooring and rigging, Safety gear and Services, with one or two levels below each. Because knowledge articles share the tree, a representative working a case about a chart plotter can filter articles by the same subject without guessing keywords.

The case form and the timeline

Representatives spend most of their time on the case form, so its layout matters more than any setting. The standard form has a summary area with the identifying columns, a details area, and the timeline, which shows notes, posts and activities such as emails, phone calls, appointments and tasks in date order. The timeline can be filtered by type and searched, and a representative can add a note or send an email from it. Ravi asked for one rule: anything said to a customer goes on the timeline, and nothing important lives only in someone's head or inbox.

Next to the case, the workspace shows a customer summary with the account or contact, recent cases and key details. Mirela added the Vessel lookup's details to Kestrelbay's case form as a quick view, so a counter agent can see the engine model and warranty end date without opening the vessel record. She also checked the form in the workspace's narrower session layout, because a form that looks balanced on a wide monitor can push important columns off screen when the Copilot pane is open beside it.

How cases are created

Cases arrive in several ways, and a project should decide which ones it supports before go-live.

RouteHow it worksTypical use
Manual creationA representative creates the case from the workspace, often with a quick create formPhone calls and walk-in customers
Automatic record creation from emailA rule turns incoming email to a queue mailbox into a caseShared service mailboxes
ConversationsA case is created from a chat, messaging or voice conversationContact Center channels
Portals and formsA customer submits a form on a Power Pages site or another integrationSelf-service support
Case Management AgentAn AI agent creates the case and fills its fieldsHigh-volume email or conversations

Automatic record creation and update rules are the most important route for a business like Kestrelbay, where most service work starts as email. A rule is linked to a queue whose mailbox receives the email. When a message arrives, the rule's conditions are checked and, if they match, actions create a case, link the email to it and set columns such as the customer, origin and priority. Options on the rule decide how to treat email from senders who are not yet in Dataverse, for example whether to accept it and whether to create a contact. Microsoft moved these rules to the admin center, with the actions built on Power Automate, and deprecated the older rules from the web client in October 2020. The settings sit with the other case settings in the Customer support area of the Copilot Service admin center.

A rule also needs to avoid creating a new case for every reply. When a customer answers an email that already belongs to a case, the reply should be added to that case's timeline, not turned into a fresh case. Dynamics 365 tracks the conversation through the email's tracking token and conversation details, and the rule can be set up to update an existing case rather than create one. Mirela tested this with Corentin by sending a claim, replying to it twice from a test address and confirming that only one case existed afterwards.

Flow from left to right: an email arrives in the warranty mailbox, which belongs to the Warranty claims queue. A rule checks conditions. If the email is a reply to an existing case, it is added to that case timeline. Otherwise a new case is created, the email is linked and columns are set.
Automatic record creation: a rule on a queue mailbox turns new email into cases and adds replies to existing cases.

Statuses and status reasons

Every case has a status, also called its state, and a status reason that gives more detail. The status decides what can happen to the case: an active case can be edited, worked and assigned, while a resolved or cancelled case is read-only until it is reactivated. Status reasons are a choice column that an administrator can extend within each status, so Kestrelbay can add reasons without changing the lifecycle.

StatusStandard status reasonsMeaning
ActiveIn progress, On hold, Waiting for details, ResearchingThe case is open and someone is responsible for it
ResolvedProblem solved, Information providedThe case was closed because the customer got an answer
CancelledCancelled, MergedThe case was closed without a resolution, or merged into another case

Kestrelbay added one active status reason, Waiting for manufacturer, because warranty claims often sit with an engine maker for days. Ravi wanted to see how long that took, separately from the time Kestrelbay itself spent. Mirela pointed out that this status reason would matter again in lesson 5: a service level agreement can be paused while a case waits for something outside the service team's control, and the pause is based on status values like this one.

State diagram. A new case starts as Active. From Active it can be Resolved or Cancelled. Both Resolved and Cancelled can be reactivated back to Active. Cancelled includes the Merged status reason.
The case lifecycle: active cases are resolved or cancelled, and closed cases can be reactivated.

Resolving, cancelling and reactivating

A representative closes a case by resolving it. The resolution dialog asks for a resolution type, which maps to the resolved status reasons, and a short description of the resolution. It can also record time spent and billable time. Resolving creates a case resolution record that stays with the case, so the reason it was closed is kept even if the case is later reopened. A case setting chooses between the standard resolution dialog and a customizable dialog based on a form that the organization can change, which Kestrelbay used to add a required choice for warranty outcome: approved, rejected or goodwill.

Open activities can block resolution. If a case still has an open task or a draft email, the representative may be asked to close or cancel them first, depending on how the organization has set the case resolution options. Ravi wanted that check kept, because an open task on a closed case is usually a promise somebody forgot.

Cancelling closes a case that should not be resolved: a duplicate, a test, or an email that was not a service request at all. Cancelled cases are excluded from most resolution measures, which is why cancelling instead of resolving matters for reporting. Either kind of closed case can be reactivated if the customer comes back with the same issue. Reactivation returns the case to active and keeps its history. Kestrelbay's rule was that a customer who writes back within fourteen days about the same part gets the old case reactivated; after that, a new case is created and linked to the old one.

Worked problem

Turning the warranty mailbox into cases

Ravi wants the warranty mailbox in Dynamics 365 before the Case Management Agent is piloted. Corentin receives about 25 claims a week, plus replies, manufacturer emails and the occasional newsletter. How should Mirela set up case creation?

Show solution
  1. Create a Warranty claims queue and link it to the warranty mailbox, then approve, test and enable the mailbox for server-side synchronization.
  2. Create an automatic record creation and update rule on that queue in the case settings.
  3. Set the rule to create a case with Origin Email, Case type Problem and the subject Warranty, linking the email to the new case.
  4. Configure it so replies on existing case threads update the case rather than create a new one.
  5. Exclude manufacturer domains and newsletters with conditions, so those emails stay in the queue as activities without creating cases.
  6. Test in Kestrelbay-Test with sample emails, then move the rule to production in the Kestrelbay Core solution.

Answer: Each new claim becomes a case in the Warranty claims queue with the right origin, type and subject, replies join their case, and noise does not create cases. Corentin can now be away without claims disappearing, and the agent pilot has clean data to start from.

Security and who can do what

Customer Service includes predefined security roles such as Customer Service Representative and Customer Service Manager, which grant privileges on cases, queues, knowledge and related tables. Kestrelbay copied these in phase one into its own counter agent and service manager roles, set by business unit so that North and South branch teams see their own cases and head office sees all of them. Ravi's rule about credit notes still applies on the case form: the credit fields from the account sit behind a column security profile that only finance and Ravi hold, so a quick view on the case shows them as hidden for everyone else.

Two privileges deserve attention in case work. The ability to delete cases is usually removed from representatives, because a deleted case loses its history; cancelling is the right action. The ability to reactivate a resolved case is often limited to team leads, so that reopening is a decision rather than a habit. Wendeline Achterberg, the service team lead at head office, took that role at Kestrelbay.

What good case data looks like

Ravi asked how he would know whether the new process was working. Mirela suggested four checks for the first month. Every case should have a customer and a contact. Every resolved case should have a resolution type that matches what happened. Few cases should be cancelled as duplicates, because duplicates mean the creation rules or the habits need fixing. And the subject should be filled on nearly every case, because reporting, knowledge filters and later the agent all depend on it. She built a view for each check so that Wendeline could fix problems on Fridays before they piled up.

Common mistakes

  • MistakeCreating a new case for every reply in a mailbox.

    InsteadConfigure the creation rule so replies update the existing case and join its timeline.

  • MistakeDeleting duplicate cases.

    InsteadCancel duplicates, or merge them, so the history and the count of duplicates are kept.

  • MistakeAdding many custom columns to the case form at once.

    InsteadAdd only columns that someone will use, and check the form in the narrower workspace layout.

  • MistakeResolving cases that were never real service requests.

    InsteadCancel them, so resolution measures count only cases that were actually solved.

Summary and key terms

  • A case, stored in the incident table, records a customer issue and the activities that resolve it.
  • Cases are created manually, by automatic record creation rules on queue mailboxes, from conversations, from portals and by the Case Management Agent.
  • Status decides what can happen to a case; status reasons give detail and can be extended within each status.
  • Resolving records a resolution type and creates a case resolution record; cancelling closes without resolution; both can be reactivated.
  • Security roles, business units and column security control who sees and changes case data.
Case
A record of a customer question, problem or request and the work done on it, stored in the incident table.
Automatic record creation and update rule
A rule linked to a queue that creates or updates records, such as cases, from incoming email or other activities.
Status reason
A detailed reason within a status, such as Waiting for details within Active.
Case resolution
The record created when a case is resolved, holding the resolution type and description.
Timeline
The control on a form that shows notes, posts and activities related to the record.

Practice problems

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

  1. What is the logical name of the Case table, and why does it matter?

    Show answer

    incident; it appears in flows, plug-ins, the API and some admin settings, so consultants need to recognize it.

  2. A customer writes back eight days after a case was resolved, about the same problem. What would Kestrelbay do?

    Show answer

    Reactivate the original case, because the reply came within fourteen days and concerns the same part.

  3. Why should a test case be cancelled rather than resolved?

    Show answer

    Cancelled cases are excluded from most resolution measures, so cancelling keeps reports honest.

  4. Name two things an automatic record creation rule can set on a new case.

    Show answer

    For example, the origin, the case type, the subject, the customer or the priority.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz