Leave Request Approval with Balance and Policy Enforcement

HR needs to approve leave requests while respecting accrual balances, team coverage requirements, and company blackout dates.

El problema

Leave requests submitted through HRIS are evaluated by Corules before manager notification. Accrual balance, blackout periods, consecutive day limits, and team coverage minimums are checked. Policy-compliant requests notify the manager for awareness. Requests violating coverage minimums escalate. Blackout-period requests block with explanation.

Cómo lo resuelve Corules

BLOCK: Request overlaps Q4 blackout period (Nov 25 – Jan 3). Policy prohibits leave during this period.

Ejemplo de política

// Leave policy (CEL)
context.requested_days <= context.available_balance
  && !context.overlaps_blackout_period
  && context.team_coverage_remaining >= params.min_team_coverage_pct
  && context.consecutive_days <= params.max_consecutive_leave_days

Opciones de integración

Microsoft Power PlatformREST API

Frequently Asked Questions

Can blackout periods vary by department?

Yes. Blackout period parameters can be scoped to department, business unit, or role type.

What is team coverage and how is it computed?

The calling HRIS computes team_coverage_remaining (what percent of the team will be present if this leave is approved) and passes it in context. Corules enforces the floor.

Deja de limitar la IA a sugerencias.

Comenzar gratis