---
id: OV-C8-NEG-008
title: "Mode Luring exit blocked while a Dalam Proses visit exists"
product: mobile
module: offline-visitation
type: negative
priority: P0
risk: critical
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK144
  tsdSection: C8
  tsdScenario: C8.7
  prd: PK144
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK144 TSD C8.7 (blocked exit); pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-OV-mode-luring-active
tags:
  - mobile
  - offline-visitation
  - mode-luring
  - negative
  - pk144
  - staging
---
## Objective
Verify exit from Mode Luring is blocked when an in-progress visit exists, preventing data loss.

## Preconditions
- See [[PRE-OV-mode-luring-active]]
- And at least one visitation is in "Dalam Proses"

## Steps
1. When the employee attempts to toggle Mode Luring OFF

## Expected Result
- Then the toggle is DISABLED and data loss is prevented

## Source Traceability
- TSD: PK144
- Section: C8 - Mode Luring State Management
- Scenario: C8.7 - Deliberate exit flow (block exit when Dalam Proses, cross-ref C2.9)
- Acceptance Criteria: E6.US-7 AC1–AC4

## Evidence Required
- Screenshot of the disabled toggle with a Dalam Proses visit.

## Notes / Gaps
- Duplicate-of-behavior with OV-C2-NEG-011 (same rule surfaced from the exit flow); kept distinct for C8.7 traceability.
