Escalation Rule Schema
Fields
Escalation Rule Schema
Schema-agnostic escalation rule. Targets any entity (callback, opportunity, complaint, …) with a deadline field, evaluates guards on a cron, and queues alerts/actions when guards match.
name
Display name (e.g. "Rückruf-Eskalation Stufe 1")
description
appliesTo
Entity schema ID this rule applies to (e.g. "callback", "opportunity")
deadlineField
Optional name of a date/date-time field on the target entity used by deadline_overdue / deadline_in guards
sortOrder
guards
AND-combined guard predicates. All must match for actions to fire.
escalationPolicyId
Optional escalation policy that drives the multi-level alert flow. If null, only direct rule-level actions fire.
priority
Priority used when creating alerts. If null, the entity's own priority field is used (or NORMAL).
LOWNORMALHIGHCRITICALisDefault
Whether this is a default rule for the appliesTo schema
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/escalation_rules— List, paginated + filterableGET /api/v1/escalation_rules/<id>— Single entityPOST /api/v1/escalation_rules— CreatePATCH /api/v1/escalation_rules/<id>— Partial updateDELETE /api/v1/escalation_rules/<id>— Soft deleteGET /api/v1/escalation_rules/<id>/timeline— Audit + activities