Native Screen Flow Components – Complementary Pack
Last updated: July 1, 2025
Overview & Architecture
The Native Screen Flow Components pack adds five free, lightweight components that you can drag & drop into any Flow Screen. They are designed to integrate with the Top Screen Flow that launches the Native Planner, giving admins extra knobs to pre‑filter the Planner view, drive navigation, and create automation‑friendly entry points.
The typical pattern is:
- Top Screen gathers filter values (avatars, picklists, lookups, etc.).
- Planner waiting‑screen/orchestrator reads those values from flow variables.
- The Planner component uses them in its
whereClause,groupBy, or custom metadata to shape the final schedule view.
This approach keeps your Planner Lightning page clean while giving Flow the power to:
- Offer role‑based or dynamic filter sets.
- Store user preferences (e.g., default group filter) in a custom object and hydrate the flow when it starts.
- Chain automated actions (e.g., open/refresh planner every morning with yesterday‑to‑today range).
Common Use‑Cases & Patterns
🔹 User Picker (Navatar Group)
Let schedulers click one or more user avatars to instantly filter the Planner to tasks owned by those users.
🔸 Record Filter (Lookup)
Expose a Lookup to Accounts, Projects or any object. When a record is selected the flow sets a variable (e.g., vSelectedAccountId) that feeds the Planner’s filter_accountId attribute.
🔹 Status & Priority (Picklist)
Drop a Native Flow Picklist twice—one for Status__c, another for Priority__c. Pass both values into the Planner query so dispatchers can stack filters without leaving the flow.
🔸 Auto‑Launch + Refresh (Timer)
Use Native Flow Timer to wait a few milliseconds after a screen loads, then navigate automatically to the next screen where the Planner lives. Great for kiosk use‑cases or when you need to fetch dates from a record first.
2. Native Flow Picklist
A stylable dropdown for choosing a single value (or optionally multiple if "Navigation: None" is used and you handle Next via another button).
- API Name – Variable to store the chosen value.
- Label – Field label shown above the picklist.
- Choices – Either hard‑coded choices or a Picklist Choice Set.
- Navigation –
Next | None.
Pattern: Add multiple Picklists on one screen (Status, Priority, Region). Use a single Native Flow Button set to "Next" to navigate forward only when all are selected.
4. Native Flow Lookup
A Lightning lookup field embedded directly in a Screen Flow.
- API Name – Stores the selected record’s Id.
- Label – Display label.
- Collection – Record Collection (for narrow pick‑lists) or leave blank for global lookup.
- Operator –
equals | not equal | starts with | contains(controls how the value is applied in your SOQL filter). - Navigation –
Next | None.
Example: Filter Planner by Project__c where ProjectId = {!vSelectedProjectId}.
5. Native Flow Timer
Invisible component that waits a set amount of time, then automatically clicks the defined navigation button.
- API Name – Variable to store whether the timer has fired (boolean).
- Delay – Milliseconds to wait before firing.
- Navigation –
Next | Back | Finish | None. - Repeat –
True | False(loop back and fire again if you revisit the screen).
Pause 20 ms, auto‑open Planner. Combine with a second Timer on the Planner screen (Delay=60000, Navigation=Back) to refresh every minute.