Cases and case management

What the Case record holds, what decides which fields a rep sees, how case teams share access and what closing a case changes.

What exactly does a case hold, and who decides what a rep sees and can change on it? A case is a customer’s question, feedback or issue, and Salesforce Help calls it the backbone of the product: a highly customizable record that service reps use to track and resolve customer issues. This page goes through it from the inside: its fields, what decides which of them a profile sees, how a case team shares access, and what closing the case changes. How the case arrives and who routes it are other questions.

What the Case record holds

Whether a field is visible or editable depends on two things that Help names together: the page layout, the arrangement of fields, buttons and related lists, and field-level security.

The case number is the first field that surprises. Numbers start at 1000 and are read-only, and an administrator can change the format, but Help warns that although they often increase sequentially, they sometimes skip numbers in the sequence. This page’s own reading, which no source states: that is why it is not a counter.

Field What it holds
Case Number the case’s unique number; starts at 1000 and is read-only
Subject a brief description of the customer’s question or feedback
Description the problem; stores 32 KB, of which reports display the first 255 characters
Status, Type, Reason the case’s classification; administrators set the values
Priority the urgency; values of up to 20 characters
Origin where the case came from — phone, email, web; values of up to 40 characters
Case Owner the user who owns the case
Case Record Type the record type, which determines the picklist values available on the case
Internal Comments internal notes; each comment stores 4 KB
Parent Case the parent case, identified by its case number

Help adds one caveat without resolving it: some of these fields are not supported in Lightning Experience — one of Salesforce’s two interfaces, the other being Salesforce Classic — and it does not say which.

What decides what a profile sees

Two screens are customized for the case, not one: the detail page, which the rep sees when opening a case, and the close case page, seen on clicking Close Case. Both are managed in the Object Manager in Setup — the configuration area — under the Case object, along with Lightning record pages, which can be assigned to specific roles.

The record type is the other lever: Help defines it as the field that determines the picklist values available on a case, and says record types are often related to a support process.

Permissions settle the rest. Editing, deleting, transferring and creating cases requires the Manage Cases app permission, which contains Edit Case, Delete Case, Transfer Cases and Create Case; removing any one of the four from a profile or permission set disables Manage Cases.

The case team and the three access levels

A case team is a group of people who work together to solve cases: reps, support managers, product managers. To build one, the Case Team related list has to be on the case page layout.

Access does not come from membership, it comes from the role. Before creating teams you create roles, each carrying its access level. The role does not change the case owner’s access, which is Read and Write by default.

The role’s access level What it lets the member do
Read and Write view and edit the case, and add related records, notes and attachments to it
Read Only view it and add related records to it
Private nothing: the member cannot access the case

There is a floor no role goes below: a member’s access cannot be less than the org’s default case sharing access. Help says the same of the whole model: it is extended, never made more restrictive than what the administrator set.

How a case team member's access to that case is formedA case team member's access to that case is formed in three steps and has a floor. First, the org sets a default case sharing access, which acts as the minimum: the member's access never falls below it. Second, the administrator creates case team roles and gives each role an access level. Third, someone adds the person to the case in one of those roles, from the Case Team related list on the page layout. The result is one of three levels: read and write, read only, or private. The case owner is outside this chain: their access is Read and Write by default and the role does not change it.acts as the minimumchosen when addingresults inOrg defaultcase sharing accessCase team rolewith its access levelMember on theCase Team related listRead and write,read only or private

Two consequences shape a design. Roles are not deleted: they are replaced by another across all cases at once, and with a single role there is nothing to replace it with; Help allows an unlimited number and recommends no more than twenty. A deleted predefined team, by contrast, cannot be retrieved and is removed from all cases. Each team member on each case counts 2 KB against the org’s storage.

Comments and feed: what gets written on the case

Case comments are public or private notes the rep adds while viewing or editing the case, and all of them appear on the Case Comments related list.

To Permission on cases
View comments Read
Add them and make them public Edit or Create
Edit or delete other users’ comments Modify All Records

A comment moves email. Whenever one is created the case owner is notified, and with the comment notification turned on in the Support Settings page the owner cannot opt out; inactive owners are not notified. One Lightning Experience detail you do not see coming: that notification is not sent when the rep edits Internal Comments in line on the detail page.

The two interfaces do not comment alike either. In Salesforce Classic the Internal Comments field can be added to the Close Case button, and the rep closes and comments in one go; in Lightning Experience that field is not available and two separate quick actions are needed.

The case feed displays important case events in chronological order and includes actions such as creating notes, logging calls, changing the status and talking to the customer in a Chatter feed. The articles that detail it are titled for Salesforce Classic. And turning it on is not only configuration: selecting its option in Support Settings upgrades existing cases to that interface.

The case’s email templates

An email template keeps the message consistent, and among the types Help lists for cases is the close notification. They are managed on the Email Templates tab, and variable data goes in through a merge field, a placeholder replaced with data from the record.

There is a crossed warning worth reading twice. If the notification checkbox is selected by default on the page layout, closing the case with a custom quick action triggers the case creation template email, not the close one, because Salesforce treats that action as a case update and not a case closure. Help gives two ways out: use the standard Close Case action, or deselect the checkbox.

Closing the case

Closing a case means the customer’s issue has been resolved, and it takes Edit on cases. Help documents several places to do it from.

From where How
The detail page the Close Case button
The Cases related list the Cls link
Editing the case Save & Close
A case list, several at once the Close button, with the Manage Cases permission

Two things are decided on the close screen. If the case has a contact, the close notification can be selected, which emails the contact using a predefined case close template. And with Salesforce Knowledge and article submission turned on, Save and Create Article stores what was learned as a draft.

Status has a history by release. As of Spring ’20, closed status values on the Status field are no longer visible by default in Lightning Experience: they are tied to the “Show Closed Statuses in Case Status Field” setting in Support Settings, and orgs on Groups edition no longer see them for inline editing. Turning it on allows closing from the field itself, but it does not reach custom components or custom quick actions. The alternative is the Close Case action, included with Salesforce Classic and to be created in Lightning Experience with Closed as the Status field’s predefined value.

Closing is not deleting: deleting a case also deletes its related events and tasks, its comments and its attachments, while the associated contacts, accounts, file records and solutions stay.

The hierarchy and the history

Associating a case with a parent case means one of two things: grouping similar cases to track them together, or dividing one case into several for different people to resolve. The relationship is written in the Parent Case field and the parent has to exist first. The hierarchy is seen through View Hierarchy, next to the case number, with child cases indented below it; from the Related Cases related list several child cases can be closed at once, or have their owner or status changed.

The history is the case’s other memory. The Case History related list records every change to the fields whose history is tracked — up to twenty — with the date, time, nature of the change and who made it.

What the history does not give The detail
The related lists their changes are not tracked
Multi-select picklists and long text areas tracked as edited, without the old or the new value
Who made an automated change in Professional, Enterprise, Unlimited, Performance and Developer, what comes from Web-to-Case or the assignment and escalation rules is listed under the Automated Case User set in Support Settings

One effect you do not see coming: when the contact changes, the account does not update to the new contact’s account and has to be edited by hand.

Example: a mortgage complaint at a private bank

A private bank receives a customer complaint about their mortgage. A rep handles it, the risk manager has to read it without touching it, and the same issue affects two products. The example is invented and every step uses only pieces this page documents.

Step What is configured or done
Record type one for complaints, with its own Status and Reason picklist values
Page layout the detail one with the Case Team and Case Comments related lists; the close one with Status and the contact notification
Team roles “Complaints rep” with Read and Write and “Risk” with Read Only
The team on the case the rep adds the risk manager in the Risk role from the related list
The complaint the rep records it in Internal Comments as a private comment
The two products one child case per product, each with the parent’s case number in Parent Case
The close the standard Close Case action, with the contact notification and the close template

The risk manager reads and does not edit because the role is Read Only, not because anybody asked them not to edit; and the close uses the standard action because of the crossed warning in the previous section.

When a case team and when the owner is enough

The need The mechanism
A stable group working cases together a case team with roles
Always the same people on cases of one kind a predefined team
One specific person, on one case, once manual sharing from Sharing
Someone who should see without editing a role with Read Only
Access that never falls below a minimum the org’s default case sharing access
Sharing the case with any user requires that user to have access to the associated account and Read on cases

This page’s own reading, which no source states: what separates a case team from manual sharing is the permanence of the group, not the number of people. A role is defined once and serves every case; a manual share is repeated case by case, and when the account changes it is deleted for anyone without read access to the new one.

Before production

  1. Check the page layout and field-level security separately (“What the Case record holds”).
  2. Review both layouts, the detail one and the close one (“What decides what a profile sees”).
  3. Confirm the support profile has all of Manage Cases (same section).
  4. Settle the team roles before creating teams, because afterwards they are not deleted (“The case team and the three access levels”).
  5. Check the org’s default case sharing access, the floor under any role (same section).
  6. Choose between the Status field and the Close Case action, and that the action is the standard one (“Closing the case”, “The case’s email templates”).
  7. Choose which twenty fields are audited, knowing that the related lists are not tracked (“The hierarchy and the history”).

Routing the case to the rep is explained in Omni-Channel, and the platform’s no-code automation in Flow.

Official sources

Back to the knowledge base