Hi all.
I'm bulding a simply app that include a listbox connected to a sharepoint list. The list is running fine and obtaining the values from the sharepoint list.
The problem is that I want to use the selected value when clicking abutton in order to execute a powerautomateflow.
I can not select the value and use it in the run function. I have tried different solution, the last one is to set a variable with the selected value but I can not use it with First, nor other ways, can you help me?

Error: Argument type not valid (record) Expected table instead.
Set(varIdioma; First(listaIdiomas.SelectedText).Value)