Pass Record IDs from List View to Flow (Use IN Operator) #inSalesforce

Pass Record IDs From List View to flow #inSalesforce


Create screen flow

Create a variable - ids - name it this. Data type - text, available for input, Allow multiple selected


GET:

getCaseRecords

Id in ids

All records


SCREEN:

Add datatable, Selected Cases - Name it, Source - getCaseRecords, View Only, Add columns as needed


Save the flow


Activate


Copy the flow URL


Case Object | Buttons.. | New Button | Name It | List Buttons (display checkboxes.. selected) | URL content source | Copy Paste the flow URL | Add Parameter ?retURL=500?recent

recent - recent list view


Go to List View Button Layout | Add the button


Test it:

Go to Case List View and test it as in visual











Visual: https://www.youtube.com/watch?v=XzRbNvWTfWo

Comments