Cases

The customer support ticket — subject, priority, status, resolution and escalation.

Cases

A case is a customer support ticket. Every customer-reported issue, question or feature request lives as a case so the team can route it, work it, and resolve it consistently.

The 7 case statuses

StatusWhat it means
⚪ NewJust received, not yet assigned to an agent (default)
🟠 In ProgressAn agent is actively working on it
🟡 Waiting on CustomerPending the customer's response
🔵 Waiting on SupportPending another team (engineering, finance, etc.)
🔴 EscalatedBumped to a senior agent or management
🟢 ResolvedFix delivered, awaiting customer confirmation
🟢 ClosedCase is done

A typical resolved-quickly case: New → In Progress → Resolved → Closed. A typical stuck case: New → In Progress → Waiting on Customer → In Progress → Resolved → Closed.

To move a case, click a status on the status bar at the top of its page and confirm. The click is checked exactly like an edit, so every rule below still applies to it.

The 4 priority levels

PrioritySLA target (SMB → Strategic)When to use
🔵 Low7 days → 4 daysCosmetic issue, low-impact question (default)
🟠 Medium2 days → 24 hoursStandard issue, work continues
🔴 High8 hours → 6 hoursSignificant impact, customer is upset
🔴 Critical4 hours, every tierProduction down, immediate response needed

Every row has a clock behind it now. The case_sla_defaults hook stamps sla_due_date on every case from a priority × account-tier matrix, so the target tightens for a Strategic or Enterprise customer and the hourly breach sweep applies at all four priorities — see SLA & Escalation for the full table and the mechanics. Those are calendar hours: this app has no business-hours calendar, so nights, weekends and holidays count against the target.

When a case is set to Critical, the Case Escalation flow alerts the case owner by inbox message and email — its recipient list is the single entry {caseRecord.owner_id}, and there is no support_manager@example.com recipient anywhere in this app. A High case is never escalated automatically, whatever the account is: no escalation condition reads the account at all, and raising one is the manual Escalate Case button.

Case types

TypeUse for
QuestionHow-to enquiries
ProblemSomething isn't working
Feature RequestCustomer is asking for new functionality
BugConfirmed software defect

Case origins

Where the case came from: Email · Phone · Web · Chat · Social Media.

This drives reporting (which channels generate the most volume) and is auto-filled when the case is created from an inbound channel (e.g., the email-to-case integration sets origin = Email).

What a case record stores

crm_case declares 27 fields (src/service/objects/case.object.ts), and two things organise them: the object's own field groups, which are also the sections of the case detail screen, and the case form, which has a single section of its own. So it is worth knowing which one you are being shown.

The object's field groups

The six names below are crm_case's field groups (fieldGroups), the object's own filing scheme for its fields. The detail screen renders them as its sections, and the form lays itself out by them too (both below). This is the one list that accounts for every field the object has:

Field groupFields
Case InformationCase Number, Subject, Display Title, Description, Account, Contact, Supplied Name, Supplied Email, Status, Case Type
Origin & RoutingCase Owner, Case Origin
SLA & PriorityPriority, Closed Date, First Response Date, Resolution Time (Hours), SLA Due Date, SLA Violated
ResolutionResolution, Resolved by Article
Escalation (collapsed by default)Escalated, Escalated Date, Escalation Reason, Escalated From
System (collapsed by default)Internal Notes, Is Closed

Five of those six rows used to be written differently on this page, and the differences were not cosmetic: Status and Case Type are in Case Information, not SLA & Priority; Closed Date is in SLA & Priority, not Resolution; and System holds Internal Notes and Is Closed — there is no audit trail field on a case at all, and the timestamps sit in SLA & Priority. Only Escalation was right as it stood. Priority Rank, the hidden sort key that orders My Open Cases, is in no group at all.

The detail screen

A case's details are the field groups above, in this order: Case Information, Origin & Routing, SLA & Priority, Escalation, Resolution, System. Nothing on the page lists them; which fields a section holds comes from the object. Three things decide what a section shows:

  • Nothing is shown twice. Status, Priority, SLA Due Date, Case Owner and Account are among the key facts under the header, and Status is on the status path too, so their sections leave them out. Case Information therefore shows Case Number, Subject, Description, Contact, Supplied Name, Supplied Email and Case Type; Origin & Routing shows only Case Origin; and SLA & Priority keeps SLA Violated and the three stamps Closed Date, First Response Date and Resolution Time (Hours).
  • A section with nothing in it is not drawn. On a case still being worked, Resolution is usually absent: its fields are written as the case is answered and closed, and a section appears once one of its fields holds a value. Inside a section that does show, empty fields fold behind a Show N empty fields toggle.
  • Escalation and System start collapsed. Escalation holds Escalated, Escalated Date, Escalation Reason and Escalated From, the agent the escalation took the case from. System holds Internal Notes, Is Closed and Priority Rank, the hidden sort key behind My Open Cases; a boolean always holds a value, so it shows on every case, and it is where an agent writes Internal Notes, inline on the record, while working the case.

Display Title, the stored title the object uses as its nameField, is the page title and on no section.

The form

New and Edit open one dialog, laid out by the field groups above, in their order. On New it asks for what the person raising a case has in hand at intake; what the lifecycle fills in later waits for Edit or the detail screen: SLA Due Date, Escalation Reason, Resolved by Article and Internal Notes. A creator typing an SLA deadline would be authoring state the app is supposed to derive. First Response Date and SLA Violated are never offered for typing, because the app records them, and read-only fields such as Case Number and the closing stamps are read on the detail screen. Resolution appears once the status is Resolved or Closed, or once one is written, so a case can be closed from Edit.

The public support form at /forms/support is a layout of its own: a single section with five fields (the visitor's name and email, subject, description, type), labelled for the visitor: Your name and Your email there are the Supplied Name and Supplied Email an agent reads on the case.

Who wrote in. A case from the public support form has no account and no contact, because the visitor is anonymous. So the form asks for their name and email — the email is required, and the form will not send without it — and the case keeps them as Supplied Name and Supplied Email, beside Contact. They are exactly what the visitor typed: nothing checks them, and the app never links the case to a contact or an account because the address matches one. Reply to the supplied address (it is a mail link on the case), and link the case to the right contact once you have confirmed who wrote in. On a case an agent raises, both fields are optional.

No priority from a visitor. The public form does not ask for a priority, so a web case arrives at Low and the agent triages it. A visitor can never open a Critical case, which would escalate on arrival and go to the Service Manager pool: the app holds a visitor's case at High at most, whatever the submission says. Critical is set by staff, and a case an agent raises can still be opened at Critical. Above the fields the form reads For an urgent outage, call the service hotline. — the way a visitor with a real P1 reaches you.

What happens automatically

  • Owner, when a case arrives with none — a case created with no owner (a web-to-case submission, an integration, an import) goes to the Service Agent with the fewest open cases. When nobody holds the Service Agent position it waits in the Support Intake queue instead, and the Unassigned — triage tab shows it until an agent claims it. A case you create yourself is yours. See Claiming a case from the queue below.
  • First response date (first_response_date) — stamped the first time an interaction that already took place is recorded against the case. Its single writer is the event_activity_bubble hook (src/sales/objects/event.hook.ts), which fires on any crm_event reaching Held status with the case as its related record — so Log a Call and Log a Meeting stamp it, and so does an interaction entered any other way, including straight onto the case's activity list. It reads the stored value back before writing, so a second interaction never overwrites the first. Two things are deliberately not a first response: a status change (an agent can move a case to In Progress and investigate for an hour while the customer hears nothing) and a meeting merely scheduled, which is planned rather than held. On a case worked entirely through comments the field stays empty.
  • Closed flag — set automatically when status changes to Closed.
  • Closed date — stamped to NOW when status changes to Closed.
  • Resolution time (hours) — calculated as the time between the moment the case was created and its Closed date. The creation moment is the platform's own timestamp, written on every case however it was raised; a case has no separate Created Date field of its own.
  • SLA due date — stamped on every case with a recognised priority. case_sla_defaults looks up the case's priority against its account's Customer Tier and fills the field with now + the matching number of calendar hours, when a case is created and whenever the field is still empty. Raising the priority re-derives it — now + the new priority's hours, written only when that is sooner than the date the case already has — so a case escalated to Critical is due four hours after the escalation. Lowering the priority, or any other edit, leaves it as it is, and a date somebody set by hand is replaced only by a priority raise that brings a sooner one.
  • SLA Violated (is_sla_violated) — there is no field called SLA Breached?. It is set to true when the SLA Due Date passes before the case is finished: by the hourly case_sla_monitor sweep on cases that are still open (status is neither Resolved nor Closed), and by the save that resolves or closes a case after its due date. A case with no due date is never flagged, and once set the flag is never cleared.
  • Account's last activity date — bumped to today when the case reaches Resolved, and when an interaction is recorded on it: a call or meeting logged on the case, or a task on the case completed. Closing an escalated case completes its escalation follow-up task, so that close bumps it too. Any other save leaves it alone, an escalation included.

Built-in rules

  • Closed cases must have a resolution — you can't close a case with an empty Resolution field. The edit form shows Resolution as soon as Status is set to Resolved or Closed, so you can fill it in on the same save; a new case does not show it.
  • Escalated cases must have an escalation reason — explains why a senior agent was pulled in.
  • Status progression is advice, not a gate — the transition table says New leads to In Progress, Waiting on Customer, Escalated or Closed, so jumping straight to Resolved is outside it. That does not stop the save: the case is stored as Resolved and the engine writes one line to the server log, WARN Validation rule 'case_status_progression' (warning): Invalid status transition. Unlike the two rules above — both error severity, both of which do reject the save — this one only advises. See State Machines for what the table is good for.

Flow and hook automation

  • Notify on Critical — when priority is set to Critical, the Case Escalation flow's notify node sends an inbox message and an email to the case owner alone: its recipient list is the single entry {caseRecord.owner_id}. There is no support_manager@example.com recipient anywhere in this app.
  • Notify on Escalation — when the status changes to Escalated, no email goes out at all: escalation_team@example.com exists nowhere in this app, and neither does an escalation-team recipient. What the escalated status fires is the case_status_side_effects hook, which opens an Urgent follow-up task due tomorrow for the account owner — and only for cases that have an account, since the task is keyed to it.
  • Calculate resolution time — automatic on close.
  • Auto-set closed date and flag — on status change.

Case escalation

The Case Escalation flow runs on exactly one condition: the case is at Critical priority. There is no High-priority branch, and no escalation condition reads the account — a Customer's High case and a prospect's High case are treated identically: neither escalates on its own, and raising one is the manual Escalate Case button.

It performs:

  1. Flag as escalated, stamp the escalated date.
  2. Set status to Escalated.
  3. Hand the case over — ownership moves to the service manager carrying the fewest open cases.
  4. Notify the case owner — inbox and email, carrying the case number and the priority.

The hand-off goes to a pool, not up a chain. Positions in this app are flat, so "the owner's manager" is not something it can resolve; the case goes to whoever holds the Service Manager position and has the fewest open (neither Resolved nor Closed) cases, which spreads consecutive escalations across the team on its own. Three cases where it deliberately does nothing: nobody holds the position — the state a fresh install is in — so the case keeps its owner and the escalation completes exactly as before; the case is already owned by a pool member, so it stays with the manager working it; or the same edit names an owner itself, which wins over the pool.

The status change to Escalated then fires the case_status_side_effects hook, which opens an Urgent follow-up task due tomorrow for the account owner — and only for cases that have an account, since the task is keyed to it. Closing the case sets that task to Completed if it is still open, so it leaves the account owner's My Open Tasks.

Two things this list deliberately does not claim, because the escalation does not do them:

  • The notification goes to the previous case owner alone. Its recipient list is the single entry {caseRecord.owner_id}, read before the hand-off — so it reaches the agent the case is being taken from, which is the point. Not the manager, and not a broader support-team@example.com list, an address that exists nowhere in this app.
  • The follow-up task is not the original agent's. It belongs to the account owner, not to the agent who was handling the case and not to a senior agent. The flow carries no task node at all — the hook is the single owner of escalation follow-up tasks, so there is exactly one task per escalation.

See SLA & Escalation for the full mechanics.

Claiming a case from the queue

Some cases arrive while nobody holds the Service Agent position — on a fresh install that is every web-to-case submission. Those cases get no owner. They wait in the Support Intake queue, and every Service Agent sees them in the Unassigned — triage tab. See Case routing for how routing works.

To take one, open it and click Claim. You can find these cases with the list's In a queue filter too. The Claim button sits in the record header. It shows only while the case has no owner and is in a queue you belong to. Clicking it makes you the Owner and changes nothing else. The status stays where it was, so you move it to In Progress yourself when you start. The case then leaves Unassigned — triage and shows up in My Open Cases.

Only one agent can claim a case. If a colleague claimed it after you opened it, your click is refused and the case stays with them. Today the console words that refusal as Record … not found, because the case has already left your view. Refresh the list and pick another case.

A status change does not claim a case, and you cannot claim one for somebody else. Moving an unowned case to In Progress changes the status only, and the case stays in the queue. Claim writes only your own name. A case that has to change hands needs an administrator or a service manager; see Sharing & Security.

Sharing — who can see which case

  • By default, cases are private — only the owner. Positions are flat and nothing rolls up, so no manager sees a case by sitting above its owner.
  • Critical open cases are auto-shared by two rules, one per rung: Escalated Cases Sharing grants read/edit to crm_service_manager, and Escalated Cases — Service Director grants read to crm_service_director. Both rungs are named explicitly because neither inherits from the other.
  • Cases waiting in the Support Intake queue are visible to every member of that queue (everyone holding Service Agent), read and edit. That reach comes from the queue itself, not from a sharing rule, and it ends when somebody claims the case: from then on the claimant holds it the ordinary way, as its owner.
  • An escalated case stays readable by the agent it was taken from. The hand-off records that agent in Escalated From, and Escalated Cases — Previous Owner shares the case with them, read-only, until it is Closed — so the agent who logs a Critical case or presses Escalate Case can still open it. Working it is the manager's: the agent cannot edit it.

Field-level security

  • SLA Violated (is_sla_violated) and Resolution time are read-only for agents — these are auto-calculated and can't be hand-fudged. The lock is field-level security: the Service Agent profile masks both as readable but not editable.

Standard list views

crm_case ships eight views (src/service/views/case.view.ts), and the case list surfaces them as tabs, each labelled with the view's own name:

ViewWhat it shows
All CasesEvery case, sorted by priority then SLA due date; a case flagged SLA Violated is tinted red, every other row stays plain
Service WorkflowKanban of open cases, grouped by status
SLA CalendarLive cases laid out on their SLA Due Date — every case carries one, and resolved and closed cases are left out, so the calendar shows the open backlog's deadlines
Case TimelineCases on a created → closed timeline, grouped by owner
Escalated Casesis_escalated is true
Unassigned — triageOpen cases waiting in the Support Intake queue with no owner, urgent first then soonest due — where a new case lands when nobody holds the Service Agent position (see Case routing)
⏰ SLA at RiskOpen High and Critical cases, soonest due date first
My Open CasesYour cases whose status is neither Resolved nor Closed

Of the seven names this section used to list, only My Open Cases was real — it survives in the table above. The other six are not views at all:

  • Critical Cases is a metric tile, not a list. Breached SLA is not a name this app carries at all: the tile that counts breaches is Open Cases Past SLA. Service Overview — the dashboard's own title is Customer Service — carries Critical Cases (open and Critical) and Open Cases Past SLA (open, and flagged SLA Violated or past its SLA Due Date, counted when the tile is read); no list view in this app filters on a breach. For a list you can actually work through, use Escalated Cases — the SLA sweep escalates every case it flags, so each breach it flags lands there.
  • Service Board is not this app's name for anything. The kanban is Service Workflow, and that is what its tab reads.
  • Cases Due Today, Recently Closed and By Account do not exist in any form: no view filters on today's due date or on closed_date, and crm_case has no grouped view.

The case detail layout

A case opens on the same record page every object in HotCRM uses:

  • Header — the case's stored title, its number and subject (CASE-00034 - Login fails), and the actions: Escalate Case, Close Case and Log a Call as buttons beside Edit, with Log a Meeting and Schedule a Meeting under ⋯. Reopen Case takes the first place on a resolved or closed case, and on a case waiting in the Support Intake queue the console adds Claim. There is no SLA countdown: nothing in this app computes time remaining or time over, so there is none to render. See SLA & Escalation for what the two SLA fields do instead.
  • A breach — there is no banner: a breached case shows SLA Violated ticked in the SLA & Priority section, which is always open, and its SLA Due Date is among the key facts.
  • Key facts — Status, Priority, SLA Due Date, Owner and Account, side by side.
  • Status path — every status, New → In Progress → Waiting on Customer → Waiting on Support → Escalated → Resolved → Closed, the current one marked. Click a status to move the case there; it is the same change as editing Status, so the same rules apply (a closed case needs a resolution).
  • The details, in the left column: the field-group sections described under The detail screen above.
  • The linked records, one card each, in the right column: Tasks, the case's open ones only (status not Completed), and the case's events and knowledge articles; lists with nothing in them fold into one line. There is no linked-opportunity list, because crm_case has no opportunity relationship in either direction. Below them are Attachments, with an Upload button, and Activity (more on this below).

There is no customer panel: the account is among the key facts, and the primary contact is a field in Case Information. Contract tier and open cases this month are on no case surface: a case links to no contract, and nothing in this app counts a customer's cases by month. Nor is any part of the page AI-driven: the service skills are real — see How an AI agent helps below — but you reach them by asking.

The Activity timeline

The Activity tab is the single source of truth for what has happened on a case. It combines three streams into one chronological feed. No email reaches it: Send Email is a contact action, and a case offers none.

StreamWhere it comes fromWhat you'll see
CommentsA teammate or customer posts on the caseThreaded discussion, @mentions, internal/external visibility
Logged calls and meetings"Log a Call" and "Log a Meeting" actions — stored as sys_activity of type completedThe subject and who logged it, linking to the event behind it
Field changesEvery change to a tracked field on the caseWhat changed, who changed it, when, before → after

You don't have to configure any of this. The platform adds an entry of its own each time the case is created or saved: a change to a field the app tracks, such as Status, shows the old and new value (Status: New → In Progress), and an edit that touches only other fields shows as a plain Updated Case entry. Tracking is chosen field by field in the app, not switched on for a whole object. The platform's audit log, which keeps every field of every change, is a separate administrator's screen (Setup → Diagnostics → Audit Logs) and does not feed this tab.

Tip — if you only want to see the discussion, use the filter dropdown at the top of the Activity tab; you can also subscribe to the case from there so any future post pings you in the bell.

How an AI agent helps

With an AI agent connected (see AI and Agents), the service skills work on any case. Ask it:

  • "Triage this case" — Case Triage skill recommends a priority based on subject and description.
  • "Suggest a resolution" — no one skill does this end to end. Case Triage declares two tools, describe_object and get_record, and no query tool at all, so it searches nothing. Ask Customer 360° for the published knowledge articles matched on the case's category or tags, then Email Drafting for the customer reply — the draft is grounded in the contact and account records, not in those articles, so paste in whatever it should quote.
  • "Customer 360" — pulls the full account context (open opportunities, past cases, contract tier).

If the AI agent decides the priority is Critical, it will also recommend immediate escalation and draft an internal notification message.

Tips for service agents

  • ✅ Triage incoming cases promptly — but know that nothing in the app is watching. There is no first-response target to breach: First Response Date is recorded on the case and never compared against anything, case_metrics carries no first-response measure so no report or dashboard tile reports on it, and no flow alerts on it. Promptness here is the team's own commitment, not a clock the app runs.
  • ✅ Use "Waiting on Customer" when you're genuinely blocked — but it does not stop the SLA clock, in any configuration. no status change moves sla_due_date — only a priority raise can, and only to a sooner date — and the hourly case_sla_monitor sweep collects open cases whose status is neither Resolved nor Closed — Waiting on Customer is not on that exclusion list. A case parked on the customer runs its clock down and is flagged SLA Violated and escalated on schedule, at every priority.
  • ✅ Always write a resolution — it's mandatory, but also feeds the knowledge base for future cases.
  • ✅ Link a task when the case requires future follow-up (e.g., "verify fix worked in 7 days").
  • ❌ Don't close a case without confirming the fix worked.

Tips for service managers

  • ✅ There is no Breached SLA view to watch, and no red badge either — but a breach does show on All Cases: a case flagged SLA Violated is a red row, and it stays red once resolved or closed, because a late close records the breach. Work Escalated Cases daily, and read the Open Cases Past SLA tile on Service Overview for the count.
  • ✅ Use the kanban for daily standups — it is named Service Workflow and reaches the case list as the Service Workflow tab.
  • ✅ Coach agents whose Resolution Time trends up — but you will be reading it off the cases themselves. There is no agent leaderboard: case_metrics, the dataset behind every service report and dashboard widget, declares Status, Priority, Origin, Type, Created and Resolving Article as its only dimensions, so nothing in analytics can group cases by agent.

Tips for admins

  • The SLA targets per priority and account tier are stored in the case object's automation. To change them, edit src/service/objects/_case-sla.ts and the matching table inside case_sla_defaults in src/service/objects/case.hook.ts — both, because a sandboxed hook body cannot import a constant — see SLA & Escalation and Administration › Automation.
  • Neither escalation_team@example.com nor support_manager@example.com is configured anywhere — both addresses exist nowhere in this app. The one recipient list that does exist is the notify node of the Case Escalation flow, recipients: ['{caseRecord.owner_id}'] — the case owner alone — and it is edited in src/service/flows/case-escalation.flow.ts, not on a Setup screen.
  • Email-to-case ingestion (auto-create case from an inbound email) requires the email plugin — see Developers › Extending Objects.

On this page