Cases
A shared inbox where a team works the alerts and reviews a decision raises, with workflows, chat, files and a kanban board.
A case is a piece of work a team picks up together. A live execution opens one when an Action
uses createAlert or enqueueReview (see Notifications for who is
told), or you open one by hand with New case. Members assign it, talk it over, move it through
a workflow and record a verdict. Simulations and shadow runs never open a case.
Cases live under Cases in the console, as a List or a Board.
Case types
Every case belongs to a case type. The type decides the workflow, the custom fields and the
members a case starts with. Each project is seeded with two system types, alert and
review, which back createAlert and enqueueReview; you can add your own.
| Property | What it does |
|---|---|
| Key | Lowercase letters, digits, hyphen or underscore. Cannot change after creation. |
| Base kind | ALERT or REVIEW. Decides which verdicts a case can end with. |
| Name, color | How the type appears in badges and filters. Description and icon are optional. |
| Default members | Project members added as collaborators to every case of the type when it opens. |
| Workflow | The states and the moves between them (below). |
| Custom fields | A JSON Schema the type's cases are checked against (below). |
Manage types with Cases → Manage. Archiving a type stops new cases from using it; a system type, or one that still has unresolved cases, cannot be archived. Restore puts a system type back to its original name, color and workflow, and is refused while cases sit in a state the original workflow lacks.
An action picks its type with a case_type (or caseType) field in the action payload.
Other payload fields are read too: severity or priority sets the severity (low, medium,
high, critical, common short forms such as H or urgent, or 1 to 4; anything else is
MEDIUM), and the first of subject, customer_id, customerId, account_id, accountId,
entity_id becomes the case's subject.
Workflows
A workflow is a set of states and the transitions allowed between them.
- Each state has a key, a label, a color and a bucket:
OPEN,IN_PROGRESSorRESOLVED. The buckets drive the inbox tabs and counts whatever the states are called. - Exactly one state is initial (where new cases start) and at least one is final (the case is closed). A workflow holds up to 30 states and 200 transitions.
- A transition goes from one state to another, never to itself, and each pair can appear once. It can require an assignee, a note (recorded on the timeline) or a specific project permission. With no permission set, anyone who manages cases may make the move.
The default workflow of the system types is Open → In progress → Resolved, with Pause
(back to Open), a direct Resolve from Open, and Reopen from Resolved.
The workflow editor is a canvas: drag from a state's right handle to another to create a move, click a state or an arrow to edit it, and use Auto-arrange to lay it out. It warns when there is no final state, when a state cannot be reached from the initial one, or when a non-final state has no way out.
A state that cases currently sit in cannot be removed or moved to another bucket until those cases are moved or resolved.
SLA
A state can carry Max hours in this state (SLA). A case that has been in a tracked state longer than that counts as breached. Breaches are not enforced anywhere: they show up as an SLA breached tile in the Cases stats panel, which appears once any open case sits in a state with an SLA.
Work a case
A case has a public id, a title, an optional subject, a severity (LOW, MEDIUM, HIGH,
CRITICAL), one assignee (the responsible person) and any number of collaborators. Open it to
see these tabs:
| Tab | Holds |
|---|---|
| Overview | The execution that raised it, custom fields, the action payload, related cases and the timeline. |
| Chat | The conversation. |
| Files | Every attachment. |
| Activity | The timeline: opened, assigned, moved, severity changed, resolved, reopened, members, files, tags. |
| Members | The responsible person and the collaborators. Only project members can be added. |
On the case page, the Next step buttons are the transitions that leave the current state; a move that needs a note or an assignee is refused until it has one.
Related cases lists the other cases about the same subject.
Resolving records a verdict and an optional note: a REVIEW ends APPROVED, REJECTED or
NO_ACTION; an ALERT ends CONFIRMED, FALSE_POSITIVE or NO_ACTION. Subscribers hear about
it through the case.resolved event. Reopen sends a resolved case back to the type's initial
state and clears the verdict. Moving a case along its workflow emits case.transitioned.
On the list, tick several cases to assign or resolve them in one go (up to 200).
Custom fields
A type's custom fields are an object JSON Schema. The case page renders them as a form; saving validates the values against the schema and rejects invalid ones. The same values can be supplied when creating a case. The type editor offers a visual field editor and a raw JSON view.
Chat
Each case has its own chat, visible to anyone who can read cases.
- Messages go out with Enter (Shift+Enter for a new line), up to 10,000 characters. Mention project members to notify them; replying to a message notifies its author.
- Edit and delete are limited to the author. A deleted message stays as a placeholder.
- Reactions take a single emoji. Reacting again with the same emoji removes your reaction, and each message shows a count per emoji.
- Attachments are dropped onto the chat or picked with the attach button, up to 5 files per message.
Files
| Limit | Value |
|---|---|
| Size per file | 25 MB |
| Files per case | 10 |
| Accepted extensions | pdf, png, jpg, jpeg, gif, webp, svg, txt, md, csv, json, xlsx, xls, doc, docx, ppt, pptx, zip |
The original file is kept and never parsed. Files go to the platform object store, so attachments
are unavailable on a deployment where that store is not configured (self-hosters: set
HTTP_LOG_S3_BUCKET). Deleting a chat message removes its files from the case chat.
Board
Board shows one case type at a time, with a column per workflow state in the workflow's order. Pick the type from the tabs above the board. Drag a card to another column to move it; a column only accepts the drop when the workflow has that transition. Filters apply, except status and kind, which the board's columns and type already fix. The board loads the first 200 cases, and says so when it is truncated; narrow the filters to see the rest. The view and chosen type are kept in the URL, so a board can be linked.
Tags
Cases carry the project's tags. The case page shows them, and the list can be
filtered by tag. The console has no tag picker for cases: tags are set through the API
(PUT /api/v1/cases/{publicId}/tags replaces the whole set, and every tag must belong to the
project; tags can also be passed when creating a case). A change is written to the timeline.
Execution tools
A case opened by an execution links back to it: its id and time, the input, the outputs and the reasons that fired. From the case you can open the execution's flow and the explanation of the execution without leaving the page. A case opened by hand has no execution.
Filters
The list filters by tab (Active, Open, In progress, Resolved, All), type, kind, severity, assignee (anyone, me, unassigned or a person), tag, decision key, subject and a created date range.
Permissions
Cases use three project permissions:
| Permission | Default roles | Allows |
|---|---|---|
case.read | Viewer, Editor, Admin, Owner | See cases, chat and files; download files; list case types. |
case.manage | Editor, Admin, Owner | Open, assign, move, resolve, reopen, chat, react, attach, tag, add members. |
case.configure | Admin, Owner | Create, edit, restore and archive case types. |
A transition that names a permission also requires the person to hold it.