Salesforce Fact #747 | Pass selected record from LWC datatable to screen flow

Suppose we have a lightning-datatable in LWC and we want to pass the selected record data to the screen flow and show the field values in different inputs.

We can do that using lightning/flowSupport in LWC.

References: https://automationchampion.com/2023/07/17/pass-data-from-lightning-web-component-to-screen-flow-3/

https://salesforce.stackexchange.com/questions/370321/passing-selected-datatable-rows-to-flow-collection-inside-of-a-screen-flow

Attached are the screenshots.

Note: Screen reactivity option is to be enabled in Process Automation Settings










Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow