web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Help with setting a va...
Power Apps
Unanswered

Help with setting a variable to Power Automate output and using variable within a Textbox or a Label.

(0) ShareShare
ReportReport
Posted on by 104

Hi All,

I am having an issue with using a Power Automate flow with a Power App. I have placed the following code with the onSelect of Gallery1


Set(varText,GetEmployeeInfo.Run(Office365Users.UserProfileV2(Gallery1.Selected.Id).mail));


When I run the Power App the Power Automate flow runs OK and the output is correct within the Power Automate flow. In this example, the correct output is 999

 

PowerStar321_0-1709202361890.png

The issue is with using the variable varText within the Textbox or Label. I think it is because it sees it as a Record instead of text, but I am not sure.

PowerStar321_1-1709202361899.png

 

Do you know what I am doing wrong? I am new to Power Apps so it might be something very simple. Also, is there a way I can see the variable details like using a Breakpoint?

Thanks
Colin

Categories:
I have the same question (0)
  • renatopc84_ch Profile Picture
    228 on at

    Hi @PowerStar321 

    What did you configured in the “Respond to a Power App or Flow” action? Is the variable configured?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard