How naf7111/workforge works
WorkForge is an internal workforce lifecycle platform: staff coordinate employee onboarding, approvals and task fulfillment, with optional asset assignment and manually evidenced access; the product also covers employee changes and offboarding. HR and IT users work through the web application, while a separate worker handles approved directory operations. The graph preserves the major README capabilities, including automation, assets, directory reconciliation and reporting. The excerpts show selected controller/service behavior; links among other subsystems are included only where supported by the README or source paths, not as a claim that every implementation detail was inspected.
Main entry points: ApplicationDbContext.cs Application data access · Program.cs WorkForge web · AutomationService.cs Automation runs · OnboardingWorkflowCoordinator.cs Onboarding workflows
Components 24
Web application
- WorkForge web
WorkForge.Web/Program.cs - Employee and lifecycle endpoints
WorkForge.Web/Controllers/EmployeesController.cs - Onboarding endpoints
WorkForge.Web/Controllers/OnboardingCasesController.cs - Offboarding endpoints
WorkForge.Web/Controllers/OffboardingCasesController.cs - Directory workspace
WorkForge.Web/Controllers/DirectoryController.cs - Automation workspace
WorkForge.Web/Controllers/AutomationController.cs
Workforce lifecycle
- Employee administration
WorkForge.Infrastructure/Services/EmployeeService.cs - Onboarding workflows
WorkForge.Infrastructure/Services/OnboardingWorkflowCoordinator.cs - Employee changes
WorkForge.Infrastructure/Services/EmployeeChangeCaseService.cs - Offboarding cases
WorkForge.Infrastructure/Services/OffboardingCaseService.cs
Fulfillment and automation
- Asset fulfillment
WorkForge.Infrastructure/Services/AssetFulfillmentService.cs - Access fulfillment
WorkForge.Infrastructure/Services/AccessProvisioningService.cs - Automation runs
WorkForge.Infrastructure/Services/AutomationService.cs - Automation outbox
WorkForge.Infrastructure/Services/AutomationOutboxProcessor.cs
Directory integration
- Directory planning and operations
WorkForge.Infrastructure/Services/DirectoryServices.cs - AD connector
WorkForge.Infrastructure/Directory/ActiveDirectoryClients.cs - Directory job processor
WorkForge.Infrastructure/Services/DirectoryQueueProcessor.cs - Directory worker host
WorkForge.DirectoryWorker/DirectoryWorkerService.cs
Persistence
- Application data access
WorkForge.Infrastructure/Persistence/ApplicationDbContext.cs
Other components
- HR and IT staff
- Active Directory
- SQL Server
- PowerShell runner
- Webhook endpoints
Connections 31
- HR and IT staff → WorkForge web: use
- WorkForge web → Employee and lifecycle endpoints: routes
- WorkForge web → Onboarding endpoints: routes
- WorkForge web → Offboarding endpoints: routes
- WorkForge web → Directory workspace: routes
- WorkForge web → Automation workspace: routes
- Employee and lifecycle endpoints → Employee administration: manages employees
- Onboarding endpoints → Onboarding workflows: manages cases
- Offboarding endpoints → Offboarding cases: manages cases
- Directory workspace → Directory planning and operations: requests operations
- Automation workspace → Automation runs: manages runs
- Onboarding workflows → Automation outbox: records triggers
- Automation runs → Automation outbox: records triggers
- Automation outbox → Automation runs: creates runs
- Onboarding workflows → Asset fulfillment: coordinates fulfillment
- Onboarding workflows → Access fulfillment: coordinates fulfillment
- Directory worker host → Directory job processor: processes jobs
- Directory job processor → AD connector: executes operations
- AD connector → Active Directory: LDAP operations
- Automation runs → PowerShell runner: runs approved packages
- Automation runs → Webhook endpoints: delivers webhooks
- Employee administration → Application data access: reads and writes
- Onboarding workflows → Application data access: reads and writes
- Employee changes → Application data access: reads and writes
- Offboarding cases → Application data access: reads and writes
- Asset fulfillment → Application data access: reads and writes
- Access fulfillment → Application data access: reads and writes
- Automation runs → Application data access: reads and writes
- Directory planning and operations → Application data access: reads and writes
- Directory job processor → Application data access: leases jobs
- Application data access → SQL Server: persists state