User Flow
Owner: Product Design
Reviewers: Product, Engineering, QA
Status: Draft
Version: 0.1
Last Updated: 2026-09-16
Review Cycle: Per UX milestone
Confirmed Role Entry Points
| Role | Web/Mobile Flow | Status |
|---|---|---|
| Admin | Login, manage users, farms, ponds, tickets, reports and dashboard. | PARTIAL |
| Owner | Login, view dashboard/farms/reports; mobile owner tabs exist. | PARTIAL |
| Manager | Login and access operational views where enabled. | PARTIAL |
| Technician | Mobile technician home, incidents, notifications and profile. | PARTIAL |
| Viewer/Owner-facing user | Mobile farm/activity view patterns exist in current code. | PARTIAL |
Common Flow
- User authenticates.
- App resolves role and redirects to role-appropriate home.
- User accesses allowed farm/pond data.
- User performs operational action such as viewing dashboard, managing entity, logging activity, handling ticket or exporting report.
- System records relevant activity and updates downstream notifications where implemented.
Detailed SRS Flows
Global Flow
- Login.
- Validate credentials/session.
- Load role, permission and farm/pond/ticket scope.
- Open dashboard.
- Select farm and pond.
- Open pond detail.
- Monitor water metrics, device status and farming logs.
- If normal, continue monitoring and daily logging.
- If warning/alert, open alert detail, acknowledge, take action and close.
- If device issue, create or open ticket, assign, process and close.
- If help is needed, open handbook/chatbot, receive recommendation and create ticket when needed.
Alert Handling Flow
- Sensor, device or user event occurs.
- System evaluates rule or threshold.
- System creates alert if condition matches.
- System sends notification/email to recipients where configured.
- User opens alert detail and acknowledges.
- User adds note, controls device, creates ticket or consults handbook/chatbot.
- User updates status to in-progress or closed.
- System logs all actions.
- If timeout/SLA is reached, system escalates.
Ticket Flow
- User detects issue.
- User creates ticket with pond/device/description/attachment.
- System sends email to configured technical recipients.
- Admin or system assigns technical staff.
- Technical staff accepts ticket, reviews pond/device context, updates progress and closes ticket.
- System records SLA metrics and sends status notification.
Chatbot Flow
- User opens chatbot.
- User selects pond context if applicable.
- User enters question or uploads image.
- System validates permission.
- Chatbot retrieves approved handbook content and permitted pond data.
- Chatbot responds with recommendation, confidence and references.
- If confidence is low or risk is high, chatbot suggests KTV contact or ticket creation.
- User rates response or creates ticket.
- Conversation is stored according to retention policy.
Design References
../current/architecture/web-architecture.md../current/architecture/mobile-architecture.md../reference/product/[AquaX] User Flow.docx../reference/design/Danh sách màn hình theo role.docxscreen-list.md