---
id: OV-C3-POS-001
title: "Offline submission saves an atomic local queue entry with confirmation"
product: mobile
module: offline-visitation
type: functional
priority: P0
risk: critical
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK144
  tsdSection: C3
  tsdScenario: C3.1
  prd: PK144
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK144 TSD C3.1; pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-OV-mode-luring-active
tags:
  - mobile
  - offline-visitation
  - perlu-dikirim
  - pk144
  - staging
---
## Objective
Verify completing a visitation offline saves an atomic queue entry and shows the confirmation drawer.

## Preconditions
- See [[PRE-OV-mode-luring-active]]
- And the employee has completed a visitation and is on the Ringkasan step

## Steps
1. When the employee taps "Check Out"

## Expected Result
- Then the submission is saved locally as an atomic queue entry (Belum Terkirim) containing visit-level data, check-in/check-out data (selfie, coordinates), and all completed task report drafts
- And a "Data Berhasil Disimpan" drawer appears with 2 CTAs: "Ke Gagal Kirim" and "Ke Beranda"

## Source Traceability
- TSD: PK144
- Section: C3 - Offline Submission & Gagal Kirim Queue
- Scenario: C3.1 - Offline submission saves locally with confirmation
- Acceptance Criteria: M.15 AC1–AC4, AC6

## Evidence Required
- Screen recording of Check Out → confirmation drawer; local queue inspection.

## Notes / Gaps
- Local-save-must-precede-success is covered by OV-C3-POS-007 / OV-C3-NEG-008.
