Passport Seva Kendra — Salesforce Platform

Back to project

A custom Salesforce platform modelling the full Indian-passport application lifecycle — few objects, many fields, clean automation and DPDP-safe PII.

Build log 21 Jul 2026 1 min read

Part 2 — Record types, dependent picklists & validation rules

With the model in place, the variants and guardrails went in.

Record types

Fresh, Re-issue, Tatkal, Lost/Damaged, Minor, Diplomatic/Official — each surfaces the right fields (guardian fields for Minor, previous-passport fields for Re-issue).

Dependent picklist

Clearance_Level__c depends on Passport_Category__c: Diplomatic shows Ambassador/Consular/Minister; Official shows Govt Deputation/Delegation; Ordinary shows none.

Validation that respects drafts

AND( NOT(ISPICKVAL(Status__c,"Draft")),
     OR( ISBLANK(First_Name__c), ISBLANK(Last_Name__c),
         ISBLANK(Date_of_Birth__c), ISBLANK(Mobile__c),
         ISBLANK(Address_Line1__c) ) )
Rules enforce on submit, never on Draft — so an incomplete form always saves.

Advertisement