Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zw9zwaSCwEWwz8+cyZEAsB
Power Apps - Building Power Apps
Unanswered

Help Needed: Boolean Value from Power Automate to Power Apps Always Returning False

Like (1) ShareShare
ReportReport
Posted on 2 Jan 2025 10:27:31 by 6 Most Valuable Professional
Hi everyone,

I need some help with an issue I'm facing.

I created a Power Automate flow that returns a value to Power Apps. In the flow, I use the "Respond to Power Apps or Flow" action to return a Boolean value (True or False). While it works perfectly in Power Automate, when I set this value to a variable in Power Apps, it always evaluates to False, regardless of the actual output from the flow.

Here's the setup:
Power Automate:



Power Apps Variable Formula:


Set(validationresult, Validatecontainers.Run(drp_prefix.Selected.Prefix,text_containerNo.Value).validationresult);


Does anyone have suggestions on what might be going wrong?

Thanks in advance!
 
Categories:
  • WarrenBelz Profile Picture
    146,947 Most Valuable Professional on 07 Jan 2025 at 21:25:14
    Help Needed: Boolean Value from Power Automate to Power Apps Always Returning False
    @Parag Chapre​​​​​​​
    A quick follow-up to see if you received the answer you were looking for or if you need further assistance.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn    Buy me a coffee
  • WarrenBelz Profile Picture
    146,947 Most Valuable Professional on 02 Jan 2025 at 21:09:34
    Help Needed: Boolean Value from Power Automate to Power Apps Always Returning False
    Just adding to @SpongYe's post - the response is a String "true" not the Boolean true , so to get a Boolean, you would do something like this
    Set(
       validationresult,
       Validatecontainers.Run(
          drp_prefix.Selected.Prefix,
          text_containerNo.Value
       ).validationresult = "true"
    );

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn    Buy me a coffee
     
  • SpongYe Profile Picture
    5,580 Super User 2025 Season 1 on 02 Jan 2025 at 12:14:38
    Help Needed: Boolean Value from Power Automate to Power Apps Always Returning False
     
    Whenever you make an adjustment to your flow outside the application, you will need to refresh the flow within the app.
    I tried a similar approach, and it worked for me:
     
     
     
    This is the variable validationresult:
     
     
    Consider checking the result of the Execute Action to ensure it returns a true value.
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 60

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard
Loading started