Sub topic 2
Case status, priority, and the lifecycle from New to Closed
This chapter explains how a case moves from New to Closed, which fields control that movement, and where the lifecycle affects routing and escalation later in the tutorial. It assumes you can navigate Setup, edit picklist values, and read basic SOQL. You should also know what a Case record is from the previous chapter.
Why the lifecycle matters
A case is a record of work. Its Status field tells everyone how far along that work is. Several Service Cloud features read Status:
- Escalation rules only act on open cases.
- List views and reports separate open work from finished work.
- Entitlement milestones stop counting when a case closes.
- The
IsClosedfield decides whether a case counts toward queue backlog.
If your status values are unclear or inconsistent, these features produce wrong results. Design the lifecycle before you build rules.
The Status field
Status is a picklist, which is a field that offers a fixed list of values. Each value belongs to one of two groups:
- Open values, such as New, Working, and Escalated.
- Closed values, such as Closed.
The group is stored in a setting called Closed on each status value. It is not stored in the label. Salesforce uses this setting to fill the read-only field IsClosed. When you pick a closed status, IsClosed becomes true and ClosedDate is set to the current time.
A typical standard setup looks like this:
| Status value | Closed? | Meaning |
|---|---|---|
| New | No | The case was created and nobody has started it. |
| Working | No | An agent is actively handling it. |
| Escalated | No | The case was moved up because it was not resolved in time or needs senior help. |
| On Hold | No | Work is paused, often while waiting for a customer reply. |
| Closed | Yes | The work is finished. |
Your organization may have different values. Check Setup > Object Manager > Case > Fields & Relationships > Status.
Editing status values
To add or change a value, open the Status field and use the Case Status Picklist Values section. When you add a value, you choose whether it is Closed. Keep these rules in mind:
- Do not rename a value casually. Renaming updates existing records, but formulas, flows, Apex, and reports that match the old label as text may break.
- Make the open or closed choice carefully. Moving a value from open to closed changes
IsClosedon every case that uses it. - Use Record Types and Support Processes if different teams need different status lists. A support process is a named set of Status values assigned to a case record type.
Status and IsClosed in queries
Always filter on IsClosed when you want open work. Do not list status labels by hand.
SELECT Status, COUNT(Id) total
FROM Case
WHERE IsClosed = false
GROUP BY StatusThis query still works if an administrator adds a new open status next quarter. A filter such as Status IN ('New', 'Working') would silently miss it.
The Priority field
Priority is also a picklist. The standard values are High, Medium, and Low. Unlike Status, Priority has no open or closed setting. It does not change automatically as a case ages. It is a label that you or an automation sets, and other features read it.
Priority is commonly used in three places:
- Assignment rule criteria, for example "High priority goes to the Tier 2 queue".
- Escalation rule criteria, for example "High priority cases escalate after 1 hour".
- Sorting in list views, so agents see urgent work first.
Because Priority is just a value, nothing prevents a customer from choosing High on a Web-to-Case form for every request. Decide who may set it. If you cannot trust the source, ignore the submitted value and set Priority in an automation based on other data, such as the customer's account tier.
The lifecycle from New to Closed
The lifecycle is the path a case follows over its life. A typical path has these steps:
- Creation. A case arrives through a channel and starts with Status New. The default status is the picklist value marked as default.
- Routing. An assignment rule or an agent sets the owner, which may be a queue.
- Pickup. An agent takes the case from the queue and becomes the owner. The agent usually changes Status to Working.
- Work. The agent investigates, replies, and may put the case On Hold.
- Escalation, if needed. An escalation rule or a person raises the case to a senior owner.
- Resolution. The agent sets a closed status.
- Reopening, if needed. The customer replies or an agent finds the fix failed. The case returns to an open status.
Salesforce does not enforce this path. Any user with edit access can set any status in the picklist. If you need a strict order, add a validation rule or a flow that blocks illegal changes. For example, you could block the change from New straight to Closed unless a resolution comment exists.
Status values that routing depends on
Two of the transitions above interact with features covered later:
- New to Working usually happens when an agent accepts a queued case. A report on cases that remain New and owned by a queue shows backlog.
- Working to Escalated can be done by an escalation rule action or by a person. Setting Status to Escalated is not the same as the
IsEscalatedcheckbox, which is described below.
Escalated status versus IsEscalated
Case has a checkbox field named IsEscalated. Salesforce sets it to true when an escalation rule fires, and a user can also set it directly. Setting the checkbox does not change Status, and changing Status to Escalated does not set the checkbox.
This means you have two separate signals. Pick one as your reporting standard and document it. The query below uses the checkbox, which is the signal escalation rules produce.
SELECT Id, CaseNumber, Subject, Priority, Owner.Name, CreatedDate
FROM Case
WHERE IsEscalated = true AND IsClosed = false
ORDER BY CreatedDate ASCWhat closing a case does
When a case moves to a closed status, Salesforce does several things:
- It sets
IsClosedto true and fillsClosedDate. - Escalation rules stop evaluating the case, because they only apply to open cases.
- Entitlement milestones stop their timers.
- Reports that use
IsClosedmove it from open to closed groups.
Closed cases can still be edited unless you restrict it with a validation rule or page layout. Many teams add a validation rule that blocks edits to closed cases except by a manager, so history stays reliable.
Reopening
Reopening means changing a closed case back to an open status. The platform allows it. Think through the consequences:
IsClosedbecomes false andClosedDateis cleared.- Escalation timing starts counting again from the rule's reference point, which can fire an escalation on an old case right away if it counts from the creation date.
- Reports that count "closed this week" may change after the fact.
Many teams reopen by creating a new case linked through the parent case field instead. That preserves the original close time and resolution data. Choose one approach and apply it everywhere.
Common errors
- Hard-coded status labels in queries and rules. Use
IsClosedin reports and formulas. - Marking a status as closed by mistake. A value such as On Hold set as closed makes those cases disappear from open views and stops escalation for them.
- Using Priority as a calculated measure. Priority does not update on its own. Stale values give wrong escalation behavior.
- Assuming Escalated status equals the escalation flag. They are separate fields, as shown above.
- Letting too many statuses accumulate. Each added value is another state to test in every rule and report. Keep the list short.
Worked example: auditing a lifecycle
Suppose a support lead says "cases that have been on hold for days never escalate." You check two things.
First, confirm that On Hold is an open status. Open the Status field and check the Closed setting for that value. If it is closed, that explains it.
Second, find the old cases:
SELECT Id, CaseNumber, Status, Priority, LastModifiedDate, Owner.Name
FROM Case
WHERE Status = 'On Hold' AND IsClosed = false
ORDER BY LastModifiedDate ASCIf the query returns rows, On Hold is open and the cases are valid candidates. The next check is whether any escalation rule entry matches them. For example, an entry that requires Status = Working would never match On Hold cases. The escalation chapters cover how to write and test those entries.
Exercise
A report filters open cases with Status IN ('New', 'Working', 'Escalated'). An administrator adds a new open status called Awaiting Customer. What happens to the report, and what filter would avoid the problem?
Show answer
Cases with the new Awaiting Customer status are left out of the report, because the filter lists labels by hand. Filter on IsClosed = false instead. That field follows the Closed setting on each status value, so any new open status is included automatically.
Exercise
An agent changes a case's Status to Escalated. The IsEscalated checkbox stays false. Is this a bug, and how would you make the two signals agree?
Show answer
It is not a bug. Status and IsEscalated are separate fields. To keep them aligned, add a flow that sets IsEscalated when Status becomes Escalated, or a flow or field update that sets Status when an escalation rule fires. Also choose one field as the reporting standard.