Audience: On-call / Ops / Support escalation. Symptom → diagnosis → fix → prevention.

EWA moves real money — withdrawals paid to employees, recovery from payroll, invoices to employers. Treat sync failures and payroll-blocking issues as higher severity than a typical reporting outage.

Triage rule: if admin screens fail wholesale, suspect the EWA service (ewa-*.paidhr.com) — every screen's data comes from there. If sync is stale but screens work, suspect the workers in this repo.


1. Employee enrolments stuck (not becoming "Registered")

Symptom: employees stay Unregistered on EWA → Employees.

Diagnose: first check the mundane cause — missing bank details (the most common). Then check EwaInitialization rows with IsSynchronized = false piling up, and whether EwaEmployeeSynchronizationService is running (30s poll) and what it logs.

Fix: supply bank details; if rows are stuck with details present, investigate the worker / provider response. Control/Ewa/Sync forces a resync.

Prevent: collect bank details during onboarding; alert on IsSynchronized = false age.

2. Withdrawals not appearing locally

Symptom: employees report withdrawals the admin screens don't show, or reporting looks stale.

Diagnose: EwaWithdrawalSynchronizationService pulls these in on a 30s poll into EwaWithdrawal. Check the worker is alive and whether provider calls are failing.

Fix: restore the worker / provider connectivity; force Control/Ewa/Sync.

Risk if ignored: unrecovered advances at payroll — the company pays out twice. Escalate rather than sit on it.

3. Payroll blocked or mis-recovering

Symptom: a payroll run won't proceed, or advances aren't deducted.

Diagnose: Ewa/Payroll_Status → EwaService.Payroll_Status asks the provider whether it's clear. A failing call or an unsynced backlog (§2) both cause this.

Fix: clear the sync backlog first, then re-check status. PayrollLedgerSync reconciles the ledger.

Prevent: set the withdrawal stop day a few days before the payroll date so the recovery amount is stable.

4. All EWA admin screens fail

Symptom: Analytics/Employees/Withdrawals/Invoice/Policy all blank or erroring; the rest of PaidHR is fine.