In my Canvas power app, I am trying to send emails to those who are selected in the combo box. From the onSelect of send mail button, I have written the following code.
Set(schoolMails, Concat(ComboboxCanvas1.SelectedItems,'School email address',";"));
Notify(schoolMails);
If(!IsEmpty(ComboboxCanvas1.SelectedItems), SendMailFromCombobox.Run(schoolMails) ,Notify("Please Select Email addresses to send mails!",NotificationType.Error))
Where my concat function is working well and I can see it from the notify. but somehow I am getting the “Invalid argument type (Text). Expecting a Record value instead.” error on flow run SendMailFromCombobox.Run(schoolMails). I don’t know what I am doing wrong here?