What are Screen Flows and how do administrators design interactive user guidance interfaces?
Answer
Basics: Unlike record-triggered or scheduled flows, a screen flow runs only when a person starts it and waits for input. It is used for guided intake (new case wizards), call scripts, record updates with controlled fields, approvals-lite and multi-object creation. Flow Builder offers screen components such as Text, Number, Picklist, Radio Buttons, Lookup, File Upload, Data Table, Display Text and Dynamic Forms-like sections.
How it works:
- Setup > Flows > New Flow > Screen Flow.
- Add Screen elements and configure components; set Required, validation formulas with error messages, and default values.
- Add logic between screens: Get Records, Decision, Assignment, Loop, Create/Update Records, Subflow, and Action elements.
- Use Variables (including
recordIdinput and output variables) to pass data. - Add Fault paths on data elements, then Save, Debug (with a chosen user) and Activate.
- Launch it: Lightning record page (flow component), Quick Action, Utility Bar, Home page, Experience Cloud, a Visualforce/Aura/LWC embed, or a URL.
Advanced / deep dive: Each screen pause commits nothing by itself; element changes run in the transaction until the next screen, then a new transaction starts when the user clicks Next. That means data can be partly saved if the user abandons the flow, so place DML late or use transaction-safe design. Flows run in user context by default; the run mode can be set to System Context with or without sharing for specific cases, which can bypass the user's CRUD/FLS, so use carefully, especially for Experience Cloud guest users. Reactive screen components update fields on the same screen without navigation, and conditional visibility reduces screen count. Custom LWC screen components use lightning/flowSupport (FlowAttributeChangeEvent, FlowNavigationNextEvent) and the target. Limits shared with Apex apply per transaction (100 SOQL, 150 DML), and a flow interview can execute at most 2,000 elements between pauses.