I have an app that triggers a flow from a button. My flow inputs are Text from the Power App. By default, all the inputs are required and the call from my OnSelect works, and it looks like this...
MyFLow.Run(TitleValue.Text, DescriptionValue.Text, NotesValue.Text)
The requirements changed and the NotesValue no longer needs to be required. I change this in my flow inputs, from the ellipsis on my input variable ("Make this field optional"), now my call from my button is giving me an error on NotesValue. The error is "Invalid argument type (Text). Expecting a Record value instead."
If I change the NotesValue back to being required, the error goes away. Why am I getting this error? What am I missing?
Update with screenshots:
this is how I am running the flow from my Button.OnSelect
and this is how I updated the change to make NotesValue not required, from the trigger within myFlow
When I make the change, I see it as giving me the option to now make it required...which tells me it is now optional
With this change to make the last input optional, I save and refresh myFlow in Power Apps, and get this