There is button placed on account list view which calls a flow, it enables user to select multiple accounts and pass those id's to flow. now i have placed thais list view on 'Training'(custom object) record page i want to pass training record id to the flow which triggers on click of button in account list view. can anyone help me ho wto pass training record id to flow? requirement is to add multiple accounts to training after selecting multiple account and clicking button we create 'training attendees' (acts like junction object)records for those accounts for that training.
3check out the answer to this question here: salesforce.stackexchange.com/a/369271/62239– Jeff KranzMar 14 at 14:59
Create a text collection variable with name "ids" and make it available for input. You will automatically get all the selected record Ids in this variable.
Note that name of this variable is case sensitive.