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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Different value in out...
Power Apps
Answered

Different value in output from flow than in Set

(0) ShareShare
ReportReport
Posted on by 12

Hi,

 

I have made a flow with the following outputs:

FabulousFab_0-1687375975851.png

But when I in Power Apps set a variable to the ouput of the flow as so:

FabulousFab_2-1687376024625.png

I get the following:

FabulousFab_1-1687376012981.png

 

 

Categories:
I have the same question (0)
  • Luis Arellano Profile Picture
    247 on at

    How are you retuning the value to the canvas app? could you show that last part of your flow?

  • FabulousFab Profile Picture
    12 on at

    Using respond to power apps:

    FabulousFab_0-1687415063489.png

     

  • Verified answer
    Luis Arellano Profile Picture
    247 on at

    @FabulousFab Thanks! 

     

    I have run into the same issue before, whet I think happens is that when parsing the outputs, for some reason Power Automate forces the value as a string as you can see in you example

    LuisArellano_0-1687485036372.png

     

    But in your "Respond to a PowerApp or flow" you are requesting integers. So, the error you are seeing is an error when the expected value should be an integer but received a string.

     

    Is a silly fix but what I have done to fix this is to convert to integer, you can do it for just 1 output parameter result like this:

    int(your_outputs)

     

    then, trigger the flow from you app. If you look at the flow output again, that should unstuck whatever bug there is in the flow and show your values as integers now. 

     

    Once you get your outputs as integers, you can remove the int function and it should still work.

     

    I am also assuming that your outputs are correct and only returning the integer value and nothing more. If you still have issues with this you could show your output expressions.

     

     

     

  • FabulousFab Profile Picture
    12 on at

    That is so stupid, but it worked. Thank you very much.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard