All I am trying to do is create a variable that I can pass to a power automate flow later in the application via a submit button. I can get this same info in the flow, but I am trying to streamline the process by setting variables in the app vs in the flow.
EDIT: Sorry, I didn't fully answer your question .. which made me re-evaluate where i did have it .. so here's the update.
Using the On Visible property of a screen I am pulling in textInputEmail_1 value from the previous screen.
Set(varTest,Office365Users.ManagerV2(textinputEmail_1.Text))
Then I created a test label to show this value and in the Text property I put in varTest
For whatever reason, the test label errors stating that it is expecting a text value (I think it's getting data type record). So I guess the real question is how do I get this manger's alias as a text vs a record value?
I have the email of the person I am trying to get the manager of (that's in labelEmail_1) .. so using that info I want to also grab their manager's email to use in the flow for email sending purposes.
Does this help?