Claims and FNOL mode
This guide explains how to configure Claims / FNOL (First Notice of Loss) mode in the KASKO webapp framework.
Overview
Claims/FNOL mode is a dedicated flow for claim submissions. It differs from webapp/policy mode in request types, authentication, and pre-built screens.
Key characteristics:
All claim fields use the
claimrequest type.OTP login fields use the
otp_fnolrequest type.Pre-built login screens are available for OTP authentication.
Claim updates reuse
claimfields witheditableset (there is noclaim_patchrequest type).
Enabling FNOL Mode
Enable FNOL mode via kdata:
https://webapp-url.com/?kdata=BASE64_ENCODED_JSONExample kdata JSON:
{
"app": "fnol"
}You can also use claimsapp:
Request Types
Claims/FNOL Mode
claim
Submit claim details. ALL claim fields must use this type.
otp_fnol
OTP login fields for FNOL authentication.
Claim updates reuse claim fields with editable set.
Pre-built Login Screens
FNOL mode includes built-in login screens for OTP authentication:
claim-login— email + policy ID inputclaim-login-sent— OTP sent confirmation
Built-in login fields (use otp_fnol request type):
otp_emailotp_policy_id
Authentication Flow
User enters email and policy ID on
claim-login.OTP is sent to email.
User enters OTP code.
On success,
flags.is_fnol_user_logged_inbecomestrue.active_policy.*namespace is populated.User proceeds to claim form.
Namespaces
Claims/FNOL mode exposes the following namespaces:
claim.*— claim response dataactive_policy.*— policy being claimed againstinput.*— user input fieldsflags.*— framework flags
Flags
Common FNOL flags:
flags.is_fnol_user_logged_in— FNOL user authenticatedflags.is_claim_edit— editing an existing claimflags.claim_draft_retrieved— draft claim loaded
Manifest Request Configuration
Enable otp_fnol and claim requests:
Field Definition Example
Claim Form Example
Updating Existing Claims
Claim updates reuse the claim request type. To control editability, use editable on claim fields.
Example (backend definition with boolean editable):
For conditional editability, override editable in the manifest request config using JsonLogic (manifest-only).
Tips
Always include
error-listinfooter_componentsfor form screens.Use
required_requestson confirmation screens if you need to guaranteeclaimwas submitted.Keep claim-specific content keys under
flow.*andform.*namespaces for translations.
Last updated