SfSkills Domains Docs GitHub

Home / flow / flow-data-tables

flow-data-tables

Use the Data Table screen component for selecting rows from collections in Screen Flows, including single/multi-select and inline actions. NOT for displaying read-only data outside flows — use flow/screen-flow-choice-component-selection.

Open the skill folder on GitHub


Flow Data Tables

The Data Table screen component (GA) displays a record collection and lets users select rows. It is the replacement for custom LWC datatables inside flows for 80% of cases. This skill configures columns, selection mode, and downstream consumption of the selected rows, and documents the row-count soft limit beyond which you should switch back to a custom LWC table with server-side paging rather than stretch the screen component into a role it wasn't designed for.

Adoption Signals

Screen flows that need row selection from a list. Not for inline edit use cases — use lightning-datatable LWC.

  1. Get Records of the SObject into a collection variable.
  2. Add Data Table component; bind Source Collection; configure columns (Label, Field Name, Type).
  3. Pick selection mode: Single or Multiple.
  4. Downstream: reference {!DataTable.selectedRows} or .firstSelectedRow.
  5. Empty state: branch on collection size and show a message screen if zero.

Key Considerations

Worked Examples (see references/examples.md)

Common Gotchas (see references/gotchas.md)

Top LLM Anti-Patterns (full list in references/llm-anti-patterns.md)

Official Sources Used

Package files