LightningFlowComponents
LightningFlowComponents copied to clipboard
Datatable v4.08 can't access record collections that are filtered using standard Collection Filter component
Steps to reproduce the behavior:
- Use Get Records Element to retrieve a record collection of a custom object
- Use standard Salesforce Collection Filter Element to filter the record collection
- Create a screen component
- Add a new Datatable component to screen
Expected behaviour
4 In the Display which records? box, I try to select the filtered record collection from step 2
Actual behaviour
- The filtered record collection isn't available to select. I try to paste the collection API name in and am able to save the screen component, but when I save the flow I get the error message "The input parameter "_ Datatable Record Collection" can accept multiple values, so the assigned value must be a flow variable with the isCollection property set to true".
- When I try to run the flow, I get an error message Error element scrOrdersRequested (FlowScreen). The "scrOrdersRequested" element in your flow has validation errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Flow:
Cannot see the filtered record collection in the "Display which records?" box
If I try to manually paste the collection API name in and try to save the flow:
try to run the flow
This is an issue with the flow comboBox base component. For now, just add an assignment element to assign the filter output to a variable that you can then use in the Datatable.
Super helpful. Thanks for all of your work on this solution! We are an affordable housing nonprofit org and use it all the time.
On Thu, Aug 25, 2022, 5:16 PM Eric Smith @.***> wrote:
This is an issue with the flow comboBox base component. For now, just add an assignment element to assign the filter output to a variable that you can then use in the Datatable.
— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1190#issuecomment-1227877217, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXCG3JLBOONUZ6ISR2JUHTV3AEGLANCNFSM57U5JW4Q . You are receiving this because you authored the thread.Message ID: @.***>