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.

Das Problem

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.

So löst Corules es

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

Richtlinienbeispiel

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

Integrationsoptionen

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.

Hören Sie auf, KI auf Vorschläge zu beschränken.

Kostenlos starten