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.

Le problème

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.

Comment Corules le résout

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

Exemple de politique

// 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

Options d'intégration

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.

Arrêtez de limiter l'IA aux suggestions.

Commencer gratuitement