Civix

Civic Operations
AI DocsPostmanERD
CodeLive
FLOW:
Verified citizen
Request accepted
Active duplicate found
No duplicate
Issue already routed
Auto-routed to department
Unlinked request
Linked issue
Dispatchable issue
Work order created
Assignment pending
Accepted
Rejected
Re-dispatch
Start work
Work complete
Pending verification
VERIFIED
REJECTED
REOPENED
Rework
Feedback requested
Feedback captured
Reopen
Back to dispatch
Tracking number
Public status
Deadlines set
Deadlines may change
Unresolved escalation
Escalation metrics
Resolution metrics
Closure metrics
01
User ACTIVE

Verified citizen

A resident creates an account with email and password or Google, verifies a six-digit OTP, receives the CITIZEN role, and gets HttpOnly JWT cookies.

CITIZEN
02
CivicIssue IN_PROGRESS for a new issue

Report a problem

The citizen supplies category, description, geolocation, address, ward, and up to three photos. The API validates access, generates a tracking number, and opens a transaction.

CITIZEN
03
duplicate branch or new-issue branch

Duplicate check

The system looks for an active civic issue in the same municipality, category, and ward created within the last three days.

SYSTEM
04
existing issue status unchanged

Merge duplicate

The issue's report count increases, its age and count feed the priority score, and if priority rises the SLA deadlines are recalculated from the original issue time.

SYSTEM
05
CivicIssue IN_PROGRESS

New civic issue

A new ISS number is generated, the category's department becomes the owner, priority and SLA deadlines are set, and the first report is registered.

SYSTEM
06
unchanged

See the queue

Dispatchers and managers see the department's issue queue ordered by priority weight and age, with stage filters, ward/category filters, and pagination.

DISPATCHER
07
TRIAGED or inherited issue status

Manual triage

Legacy or manually created service requests without a civic issue can be triaged into a new issue or merged into an existing one at the service layer.

DISPATCHER
08
WorkOrder WORK_ORDER_CREATED

Create work order

A dispatch user converts the civic issue into a field job with generated title, location, and category work instructions.

DISPATCHER
09
Assignment PENDING

Assign work

The dispatcher selects an available individual or an active team, the assignment starts PENDING, workload increments, and the assignee is notified.

DISPATCHER
10
ACCEPTED or TRIAGED

Technician response

The assigned technician or team leader accepts or rejects the pending assignment. Only that user or a global admin may respond.

TECHNICIAN
11
Assignment REJECTED

Assignment rejected

The assignment becomes REJECTED, the technician's workload is released, the work order returns to TRIAGED, and the dispatcher is notified.

TECHNICIAN
12
Assignment ACCEPTED

Accept assignment

Acceptance sets the assignment, work order, and civic issue to ACCEPTED and records an ACCEPTED work update.

TECHNICIAN
13
IN_PROGRESS or PENDING_VERIFICATION

Field execution

The technician starts, pauses, resumes, posts progress, attaches photos, and finally marks the work complete.

TECHNICIAN
14
WorkOrder PENDING_VERIFICATION

Submit resolution

The technician submits a written resolution with photographic evidence. The work order and civic issue move to PENDING_VERIFICATION and every reporter is asked for feedback.

TECHNICIAN
15
RESOLVED, IN_PROGRESS, or REOPENED

Verify resolution

A dispatcher or manager with VERIFY:RESOLUTION decides whether the resolution is valid, invalid, or requires reopening the issue.

DISPATCHER
16
IN_PROGRESS

Send work back

Rejection returns the work order, civic issue, and child requests to IN_PROGRESS and tells the technician why.

DEPARTMENT_MANAGER
17
WorkOrder RESOLVED

Resolved

Verification closes the work order, resolves the civic issue, releases technician workload, and notifies every reporter in-app and by email.

DEPARTMENT_MANAGER
18
unchanged

Rate the outcome

The reporter submits a rating and optional comment exactly once per service request; the feedback is linked to the latest non-rejected resolution and the citizen's trust level is updated.

CITIZEN
19
CLOSED

Close issue

A manager or admin moves the issue to CLOSED, records closedAt, and syncs every child service request.

DEPARTMENT_MANAGER
20
CivicIssue REOPENED

Reopen issue

A pending, resolved, or closed issue returns to REOPENED; the latest work order is unassigned and set to TRIAGED; active resolutions are rejected; workload is released.

DISPATCHER
21
unchanged

SLA clock

Response and resolution deadlines are stored on each civic issue and surfaced through queues, escalation views, and analytics.

SYSTEM
22
unchanged

Escalation

Escalation records track level, reason, source, target, acknowledgement, and resolution time; unresolved rows put issues in the escalated queue.

DISPATCHER
23
unchanged

Track by ISS number

Anyone with the issue number can view status, priority, location, report count, category, municipality, and status history without logging in.

CITIZEN
24
unchanged

Analytics

Admins see issue totals, resolution rate, breached issues, department and ward distribution, SLA/escalation stats, trends, and action queues.

SUPER_ADMIN
85%