@bpmnkit/casen-report
v0.1.1
Published
Render HTML reports from Camunda 8 incident and SLA data
Maintainers
Readme
Website · Documentation · GitHub · Changelog
Overview
casen-report is an official casen CLI plugin that generates HTML reports from live Camunda 8 data. Install it once and run casen report incidents or casen report sla from any terminal.
Installation
casen plugin install casen-reportCommands
casen report incidents
Fetch active incidents and render an HTML report grouped by process.
# Print table to stdout
casen report incidents
# Filter by process definition ID
casen report incidents --process-id order-process
# Write self-contained HTML file
casen report incidents --out incidents.html
# Limit fetch size
casen report incidents --limit 500 --out incidents.htmlFlags
| Flag | Short | Description | Default |
|------|-------|-------------|---------|
| --process-id | -p | Filter by process definition ID | — |
| --limit | -l | Max incidents to fetch | 200 |
| --out | -o | Write HTML to this file path | — |
casen report sla
Fetch process instances and generate an SLA compliance report. Instances whose duration exceeds the threshold are marked as BREACHED.
# Print table (30-minute SLA threshold)
casen report sla --threshold 30
# SLA report for a specific process, save to file
casen report sla --threshold 60 --process-id order-process --out sla.htmlFlags
| Flag | Short | Description | Default |
|------|-------|-------------|---------|
| --threshold | -t | SLA threshold in minutes (required) | — |
| --process-id | -p | Filter by process definition ID | — |
| --limit | -l | Max instances to fetch | 200 |
| --out | -o | Write HTML to this file path | — |
Report Format
HTML reports are self-contained single-file documents — no external CSS, no fonts to load. They use the BPMN Kit dark theme and include:
- Summary stat cards — totals, breach counts, compliance rate
- Sortable data table — all fetched rows with status badges
- Generated timestamp — so reports can be archived
Related Packages
| Package | Description |
|---------|-------------|
| @bpmnkit/core | BPMN/DMN/Form parser, builder, layout engine |
| @bpmnkit/canvas | Zero-dependency SVG BPMN viewer |
| @bpmnkit/editor | Full-featured interactive BPMN editor |
| @bpmnkit/engine | Lightweight BPMN process execution engine |
| @bpmnkit/feel | FEEL expression language parser & evaluator |
| @bpmnkit/plugins | 22 composable canvas plugins |
| @bpmnkit/api | Camunda 8 REST API TypeScript client |
| @bpmnkit/ascii | Render BPMN diagrams as Unicode ASCII art |
| @bpmnkit/ui | Shared design tokens and UI components |
| @bpmnkit/profiles | Shared auth, profile storage, and client factories for CLI & proxy |
| @bpmnkit/operate | Monitoring & operations frontend for Camunda clusters |
| @bpmnkit/connector-gen | Generate connector templates from OpenAPI specs |
| @bpmnkit/cli | Camunda 8 command-line interface (casen) |
| @bpmnkit/proxy | Local AI bridge and Camunda API proxy server |
| @bpmnkit/cli-sdk | Plugin authoring SDK for the casen CLI |
| @bpmnkit/create-casen-plugin | Scaffold a new casen CLI plugin in seconds |
