Hi All
I am trying to make a simple app with some inputs that are connected to a flow. I've not used any forms, and the only data source it is connected to is the Accounts in Dataverse, and the flow itself. I made the flow in Power Automate first, using the trigger "Power Apps V2", asking for some text inputs, an email, a yes/or question and a text input with choices. Then I made the Power App, which is just some text input fields, a combo box connected to the Accounts data for the email, a toggle for the yes/or and a dropdown.
So, I put a little Submit button there, and in the button in OnSelect I put:
FlowName.Run(Title.text,Description.text,Email.email,Nextone.boolean,Choice.text);
And that comes up with an error.
I think the problem is the ".email" and ".boolean" commands, but I am not sure what they should be. The suggestion, when I am typing in OnSelect, is to put email and boolean there.
That last one, listed as text_4 in the picture, is marked as optional in the flow, and I'm honestly not sure how to write that in the app. It certainly doesn't seem to want Name.text in curly brackets. Well, if it's a problem it being blank I could add a default value of "N/A" or something, that's not a problem.
Can anyone help me with this run command? How should I be writing this?
Thank you very much for your help.