BAP Online
Transitioning Berita Acara Pemeriksaan workflows to a unified system with numbering, status tracking, and auditability.
Role
System development and integration
Timeline
July 2026 — ongoing
Team
Solo
Status
Production Deployment
Why this system was initiated
Berita Acara Pemeriksaan (BAP) is a formal administrative legal document requiring structured governance: chronological registration numbering, explicit status states, and transparent audit trails. When managed through manual registers, registration numbering and status consistency frequently collide. This web application was developed specifically for the operational environment of Kantor Imigrasi Kelas I TPI Tanjungpinang to eliminate ambiguity.
Problems addressed in the architecture
Manually maintained registration numbers were susceptible to race collisions, duplicate records, and sequencing gaps.
Document status was opaque across disparate administrative desks, requiring repetitive verbal status checks.
Notifications were decoupled from records, leading to communication mismatches.
Information was fragmented across individual spreadsheets with no canonical source of truth.
System approach and implementation
Automated registration numbering
Registration identifiers are computed and allocated server-side at registration time. This systematically eliminates collision bugs, missing sequences, and formatting variations.
Explicit status state machine
Every BAP record transitions through a strictly bounded three-state pipeline: Menunggu → Dikonfirmasi → Selesai. State transitions are deterministic and unambiguous.
Google Sheets storage via Apps Script
Underlying records are stored in Google Sheets and interfaced through Apps Script. This pragmatic decision allows administrative staff to inspect raw spreadsheets directly within their familiar ecosystem.
Automated WhatsApp notifications via Fonnte API
Status updates automatically trigger dispatch alerts via the Fonnte API directly within the transaction pipeline, removing manual notification oversights.
Verified outcomes & real capabilities
- Operational web application featuring authentication, registration workflows, and an administrative oversight dashboard.
- Registration numbering and state transitions are automated and validated by system logic.
- Lightweight, responsive UI operable across diverse desktop and mobile hardware available in the office.
- Source code repository and public deployment accessible for inspection via verified links.
* Note: The primary architectural challenge was reaching organizational consensus on the state machine transition rules and numbering syntax before writing code.