API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · escalation_rules

Escalation Rule Schema

ID del esquema
escalation_rule
Colección
escalation_rules
Permisos
  • Leerescalation_rule_view
  • Crearescalation_rule_manage
  • Modificarescalation_rule_manage
  • Eliminarescalation_rule_manage

Campos

Escalation Rule Schema

escalation_rules4 permisos

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.

namestringobligatorio

Display name (e.g. "Rückruf-Eskalation Stufe 1")

1–200 caracteres
descriptionstringopcional
admite null
appliesTostringobligatorio

Entity schema ID this rule applies to (e.g. "callback", "opportunity")

mín. 1 caracteres
deadlineFieldstringopcional

Optional name of a date/date-time field on the target entity used by deadline_overdue / deadline_in guards

Patrónadmite null
sortOrderintegeropcional
≥ 0Valor por defecto: 0
guardsobject[]obligatorio

AND-combined guard predicates. All must match for actions to fire.

Valor por defecto: []
typestringobligatorio

Guard condition type

deadline_overduedeadline_inno_progress_afterstatus_isstatus_inpriority_ispriority_infield_equalsfield_missing
paramsobjectopcional

Guard-specific parameters, e.g. { beforeMinutes: 30 }, { status: "OPEN" }, { closedStatuses: ["COMPLETED","CANCELLED"] }

actionsobject[]obligatorio

Actions to execute when all guards match

Valor por defecto: []
typestringobligatorio
notifyreassignescalate_priorityset_fieldadd_comment
channelsstring[]opcional
recipientsobject[]opcional
refstringobligatorio

UUID of a user/team or a placeholder like {{entity.assignedToId}}, {{entity.createdBy}}

Patrón
labelstringopcional
admite null
kindstringopcional
userteamplaceholder
paramsobjectopcional
escalationPolicyIduuidopcional

Optional escalation policy that drives the multi-level alert flow. If null, only direct rule-level actions fire.

admite null
prioritystringopcional

Priority used when creating alerts. If null, the entity's own priority field is used (or NORMAL).

LOWNORMALHIGHCRITICAL
admite null
isDefaultbooleanobligatorio

Whether this is a default rule for the appliesTo schema

isActivebooleanobligatorio

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/escalation_rules — Lista, paginada y filtrable
  • GET /api/v1/escalation_rules/<id> — Una entidad
  • POST /api/v1/escalation_rules — Crear
  • PATCH /api/v1/escalation_rules/<id> — Actualización parcial
  • DELETE /api/v1/escalation_rules/<id> — Eliminación lógica
  • GET /api/v1/escalation_rules/<id>/timeline — Auditoría y actividades

Búsqueda