Process Flow Documentation

Complete workflows for all system portals and modules

Employee Portal - Complete Workflow

1

Employee Login

Employee accesses the system via Employee Login portal (using username/password credentials managed by admin)

2

Dashboard View

Employee sees their assigned cases dashboard with statistics: Total Cases, Open Cases, In Process, and Closed Cases

3

View Assigned Cases

Employee can only view cases specifically assigned to them (filtered by assigned_to = employee email)

4

Case Management Actions

Employee can: Select multiple cases, Bulk close cases (with optional backdating), Assign cases to other employees, Export case data to CSV

5

Individual Case Handling

Click on any case to view full details, edit case information, upload documents, and update case status

6

Bulk Operations

Select All → Choose action (Close/Assign) → Confirm → System updates all selected cases and logs the action

Case Closing Process

1

Select Cases

Use checkboxes to select one or multiple cases for bulk closure

2

Initiate Close

Click 'Close Selected' button to open the bulk close dialog

3

Choose Date Option

Option A: Use current date (default) | Option B: Enable 'Use custom date' for backdating

4

System Processing

System updates all selected cases: status='completed', completion_percentage=100, overall_result='clear', completed_date set, backdating fields updated if applicable

5

Confirmation

Success toast displays number of cases closed, dashboard statistics update, selection clears

Key System Integrations

Authentication: Custom login system with session management (15-minute timeout) + Base44 admin authentication
Database Entities: Client, Subject, BackgroundCheck, CaseService, ClientUser, Credential, Provider, Service, ProviderResult, RiskFinding, MergedProfile, Document, AuditLog
External APIs: OFAC Sanctions API, GLCRI Background Checks, National Crime Database (Natcrime), Scorechain AML
Role-Based Access Control: super_admin, client_admin, compliance_officer, hr_staff, employee, vendor, viewer
Security Features: Session timeout, password strength validation, audit logging, 2FA support, RLS policies
base44
Edit with Base44