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 / Power Apps: Flow Outpu...
Power Apps
Suggested Answer

Power Apps: Flow Output Returning Boolean Instead of Number

(1) ShareShare
ReportReport
Posted on by 2

I am using Power Apps in conjunction with Power Automate to create a workflow. I have a button in Power Apps with the following OnSelect property:

Set(myOutput, CallMS2Flow.Run(Value(Lenght.Text)))
 

The CallMS2Flow is a Power Automate flow that is supposed to return a numerical value. However, when I hover over myOutput, it indicates that the data type is boolean. Because of this, I am unable to pass the myOutput value into a Text input, such as myOutput.def.

 

The flow has this output:


The schema for the flow output is:

{
"type": "object",
"properties": {
"def": {
"title": "def",
"x-ms-dynamically-added": true,
"type": "number"
}
}
}

How can I correctly capture the numerical output from the flow and use it in Power Apps?

I have the same question (0)
  • Anchov Profile Picture
    1,986 on at
    My suggestion is to:
    1.  Refresh the data connection to your Power Automate, and see if that resolves your error:
    2. Try to set your OnSelect property to:
    Set(myOutput, CallMS2Flow.Run(Value(Lenght.Text)).def)
  • Suggested answer
    venturemavenwill Profile Picture
    1,198 Super User 2026 Season 1 on at
    This may be confusing but it is showing that myOutPut is a Boolean value because you defined myOutPut as the Power Automate run and not the output itself. 
     
    If you want to capture the output of a Power Automate run, you need to capture it immediately after running the flow, or in other words:
    Set(myOutput, CallMS2Flow.Run(Value(Lenght.Text)).def)
    This will allow you to run the flow and capture the response as defined. 
  • CU07111429-0 Profile Picture
    2 on at
    Thanks @Anchov

    Point no 1 helped me. Refresh was needed.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 547

#2
WarrenBelz Profile Picture

WarrenBelz 444 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard