Public grievance workflow tracker
A configurable grievance-tracking system that models case routing, status transitions, service deadlines, escalation, and public progress checks.
Project definition
Problem statement
A grievance may move through several offices, officers, status changes, and service deadlines. Without a defined workflow, cases can be routed incorrectly, remain idle, or lose a clear history of responsibility.
The engineering problem is to represent department workflows as validated state machines, route cases by rules, enforce allowed transitions, trigger deadline escalation, and maintain a complete case-event record.
Project objectives
- Model departments, grievance categories, states, transitions, and escalation rules.
- Route submitted cases to the correct queue using configurable rules.
- Prevent invalid status changes and record every accepted transition.
- Monitor service deadlines and trigger documented escalation actions.
- Measure routing accuracy, transition correctness, escalation timing, and concurrent update handling.
System design
System modules
Grievance intake
Validates a submission, assigns a public reference, classifies required fields, and creates the initial case event.
Routing engine
Evaluates category, location, service, and priority rules to select the responsible department queue.
Workflow state machine
Defines allowed case states and transitions and rejects changes that violate the configured workflow.
Deadline and escalation
Calculates due times, detects overdue work, and creates escalation events according to department rules.
Case event log
Stores assignment, note, transition, transfer, and escalation events as an ordered case history.
Access and reporting
Applies officer and department permissions and calculates workload, age, resolution, and escalation measures.
Methodology
System workflow
- 01Submit grievance
A case is validated, assigned a reference, and stored with its category and service information.
- 02Route case
The routing engine evaluates configured rules and assigns the case to the responsible queue.
- 03Process transitions
An authorised officer moves the case through allowed states and records notes or transfers.
- 04Monitor deadline
The scheduler checks the active deadline and creates escalation events when configured thresholds are crossed.
- 05Close and report
The case is closed through a valid transition, the public status is updated, and workflow measures are calculated.
Demonstration scenario
A synthetic grievance is submitted and routed to a department queue. An officer records progress and transfers it through an allowed workflow. A second case crosses its deadline and is escalated automatically. The public reference shows the permitted status while the internal event history records each action.
Engineering
Technical architecture
- Web application
- Nuxt and Vue interfaces for grievance intake, officer queues, case history, workflow configuration, and public status checks.
- Application API
- FastAPI for validation, routing, state transitions, access control, reporting, and case-event retrieval.
- Data layer
- PostgreSQL for case records, workflow definitions, assignments, events, permissions, and reporting data.
- Workflow model
- Explicit finite-state definitions with versioned routing and transition rules applied to each case.
- Scheduled processing
- Redis-backed scheduled tasks for deadline checks, escalation creation, and retry-safe notifications.
- Delivery
- Container-based setup with synthetic department structures, workflows, cases, and repeatable test fixtures.
Testing
Evaluation
Evaluation measures
- Routing accuracy across the prepared grievance categories
- Rejection rate for invalid workflow transitions
- Deadline and escalation trigger accuracy
- Case-history completeness after transfers and concurrent updates
- Permission enforcement across public, officer, and administrator roles
- Queue and case response time under the prepared workload
System boundaries
- The project uses synthetic departments, officers, citizens, and grievance records.
- It does not integrate with a live government portal or identity system.
- Routing and escalation rules demonstrate configurable workflows and are not official service policy.
- The system tracks administrative handling and does not decide legal rights or grievance outcomes.
Included
- 01Grievance submission, case handling, and public-status interfaces
- 02Configurable routing, state-machine, deadline, and escalation modules
- 03Role-based access and append-only case event history
- 04Prepared department workflows and system test results
- 05Complete source code in a private GitHub repository
- 06Complete project documentation with synopsis, abstract, methodology, workflow diagrams, data model, test results, screenshots, and conclusion
Project record
No buyer information is collected on this page.
- Permanent project ID
- GP-CS-0I21JG9
- Catalogued
- 21 Aug 2026
- Completed
- Pending
- Verified
- Pending
- Demonstration
- Added when ready
Handover
After purchase
- 01Payment is confirmed
The project is marked unavailable and cannot be purchased again.
- 02Repository access is granted
The buyer's submitted GitHub account receives access to the private repository.
- 03The purchase record is delivered
The certification sheet is prepared from the reviewed buyer details and sent privately by email.