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 / 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,189 Super User 2025 Season 2 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

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard