The Velaris SLA Engine enforces time-bound service commitments at the case type or stage level. It tracks, pauses, breaches, and escalates automatically β no manual monitoring required.
| Indicator | Meaning | Threshold |
|---|---|---|
| π’ Green | Within SLA β healthy | More than 25% of duration remaining |
| π‘ Amber | Warning β approaching breach | Less than 25% remaining (configurable) |
| π΄ Red | SLA breached β escalation triggered | 0% remaining, clock passed deadline |
| β« Grey | No SLA configured for this case type or stage | β |
| βΈ Paused | SLA clock paused (waiting for customer, etc.) | Pause condition is true |
| Setting | Type | Description | Example |
|---|---|---|---|
| Duration | Duration string | Total time allowed from SLA start to completion | 2h, 1d, 5d, 30m |
| Warning Threshold | Percentage (0β100) | Amber indicator triggers when this % of duration remains | 25 |
| Business Hours Only | Boolean | Pause clock outside working hours and on holidays | true |
| Calendar | Reference | Business hours calendar to use (timezone + working hours) | uk-standard |
| Escalation Target | User / Group / Role | Who receives breach notification | Role: manager |
| Escalation Action | Enum | What happens on breach | notify, auto-reassign, advance-to-stage |
| Advance Target Stage | Stage reference | Stage to advance to if action is advance-to-stage | escalated-review |
| Pause Conditions | Expression | Boolean expression β SLA clock pauses while true | status == "waiting_customer" |
| SLA Scope | Enum | Apply at case level (full lifecycle) or per stage | case or stage |
Open a case type in the Studio Case Type editor. Navigate to the SLA tab.
Click Add SLA Policy. Choose scope: Case (applies to the full case lifecycle) or Stage (applies only within that stage). For stage-level SLAs, select the target stage from the dropdown.
Set Duration. Use plain English shorthand: 2h (2 hours), 1d (1 business day), 3d 4h (3 days 4 hours).
Set Warning Threshold (default 25%). The amber indicator appears when this percentage of duration remains.
Toggle Business Hours Only if the SLA should pause overnight and on weekends. Select or create a Calendar for the timezone and working hours definition.
Set Escalation Target and Escalation Action. On breach, Velaris fires the action and logs it to the audit trail.
Optionally set a Pause Condition expression (e.g. status == "waiting_customer"). The clock pauses while the condition is true and resumes when it becomes false.
Click Save. The SLA applies to all new cases of this type. Existing cases continue on their current SLA until manually updated.
Navigate to Studio > SLA > Calendars. Each calendar defines:
| Field | Description | Example |
|---|---|---|
| Name | Identifier used in SLA policies | uk-standard |
| Timezone | IANA timezone string | Europe/London |
| Working Days | Days of week when clock runs | MonβFri |
| Working Hours | Start and end time in HH:MM (24h) | 09:00β17:30 |
| Holidays | List of dates (YYYY-MM-DD) when clock pauses all day | 2026-12-25, 2026-01-01 |
# List cases breaching SLA curl -s "http://localhost:8200/api/v1/cases?sla_status=breached&per_page=50" \ -H "Authorization: Bearer $TOKEN" | jq '.items[] | {ref, sla_status, current_stage}' # List cases in warning state curl -s "http://localhost:8200/api/v1/cases?sla_status=warning" \ -H "Authorization: Bearer $TOKEN"
| sla_status value | Meaning |
|---|---|
ok | Green β within SLA |
warning | Amber β below warning threshold |
breached | Red β SLA breached |
paused | Clock paused by condition |
none | No SLA policy on this case |