Datatable with Row Actions calling a pop-up Screen Flow
Combining Datatable row actions with Flow Launcher enables launching screen flows reactively from datatable interactions, allowing users to edit complex fields like Lookup and Multi-Select Picklists. This approach solves the limitation where row actions can only trigger auto-launched flows by enabling a pop-up screen flow modal that edits records inline and refreshes on save. Salesforce teams can build more interactive data tables with enhanced editing capabilities without heavy code, leveraging the new Reactive Screen Components and Flow Launcher features.
- Use Flow Launcher to reactively launch screen flows from datatable row actions.
- Pass records and collections in and out of screen flows for dynamic editing.
- Configure reactive components like Get First Record and Upsert Record By Key for efficient record processing.
- Leverage modals for user-friendly pop-up editing in datatables.
- Update datatable record collections reactively after flow completion to refresh displayed data.
NOTE: See this newer post for updated versions of this use case taking advantage of new features in Datatable and Flow Launcher. Recently I wrote an article on how datatable row actions could be used to execute a Screen Action. This is a great feature if you need to perform some unattended actions on a record in the datatable. But what if you need to provide some additional input or interact with the data in the actioned record? Action Buttons and Screen Actions can only run auto-launched flows, not screen flows. I was able to work with Josh Dayment to enhance his new Flow Launcher action to launch a screen flow reactively instead of just from a button. We also added the capability of passing records and record collections in and out of the launched flow.