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.
1 Answer
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.