Prototyping Screen Flows and record pages before building in a sandbox (opens in a new tab)
You will learn a four-step pre-build method for mapping and mocking up Lightning pages and Screen Flows with stakeholders, and when to choose Dynamic Forms over a Screen Flow.
Why read this
You will also see how to turn the approved prototype into a field dictionary and Gherkin acceptance criteria.
- Map the process swimlane
- Prototype the record page in SLDS
- Test visibility and edge cases live
- Export data dictionary and Gherkin
The author opens with a familiar failure: a discovery workshop produces a requirement that is then built in a Developer Sandbox over two days, only to be reworked after a playback call. He argues that the gap is stakeholders not being able to picture how a written user story becomes a real Lightning page or Screen Flow until they see it, and that generic tools fall short. Written stories, Figma or Miro canvases, and prototyping in a sandbox each fail for Salesforce in different ways, so the prototype should stay within SLDS constraints.
The method starts with mapping the process swimlane using Universal Process Notation, identifying the trigger, decision gateways, and whether the user needs a guided wizard or persistent fields with conditional visibility. A rule of thumb is given: use Dynamic Forms with Path guidance for ongoing single-record updates with a few conditional fields, and a Guided Screen Flow for multi-step wizards, related child record creation or verification before advancing a stage. The prototype is then reviewed across four zones of the Lightning page: the Highlights Panel, Path stages with guidance text, two-column detail sections, and sidebar Related Lists.
The author then recommends testing conditional visibility and edge cases live, including negative paths, persona-based editability, and console density. Finally, the approved prototype is converted into a field-level data dictionary and Given/When/Then acceptance criteria before any sandbox configuration begins. The approach is presented as a 15-minute pre-sandbox routine, though the article is aimed mainly at admins and business analysts.
Read the original at Salesforce Time (opens in a new tab)