Escalation Rule Schema
Felder
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
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/escalation_rules— Liste, paginiert + filterbarGET /api/v1/escalation_rules/<id>— Einzelne EntityPOST /api/v1/escalation_rules— AnlegenPATCH /api/v1/escalation_rules/<id>— Teil-UpdateDELETE /api/v1/escalation_rules/<id>— Soft-DeleteGET /api/v1/escalation_rules/<id>/timeline— Audit + Aktivitäten