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 / Response to Power Apps
Power Apps
Answered

Response to Power Apps

(0) ShareShare
ReportReport
Posted on by 362

I have a workflow with two 'Respond to a PowerApp' actions at the end, which output will cause a text label to pop up in my PowerApp to confirm whether the flow has succeeded.

Gilmour_0-1675439942083.png

For this purpose, I have created a variable in the app called 'varNewScheduleCreated' whose value equals the NewScheduleCreated output resulting from the flow (either 'true' or 'false').

 

My alert text label has its Visible property set to 'varNewScheduleCreated' so it should appear once the flow is completed with a 'true' outcome. 

 

Finally, I have a button whose 'OnSelect' property is set to 'Set(varNewScheduleCreated,false)', so by clicking I can hide the alert text label once I'm done.

 

The process built as described above doesn't work and I receive the following message when trying to use 'varNewScheduleCreated' for the 'OnSelect' property of the button.

 

Gilmour_1-1675440623882.png

 

Thanks for helping!

Categories:
I have the same question (0)
  • zmorek Profile Picture
    3,272 on at

    The flow looks to be returning a string of either "true" or "false" not the value TRUE or FALSE. Have to make them match.

  • Gilmour Profile Picture
    362 on at

    Hi @zmorek , to make sure I understand: should I have used a 'Yes/No' input in the flow action instead of 'Text'. 

     

    Thank you

     

    Gilmour_0-1675441672479.png

     

  • Verified answer
    zmorek Profile Picture
    3,272 on at

    Text is fine, but you're mixing and matching data types which is causing your problem. Please see below


    @Gilmour wrote:

    I have a workflow with two 'Respond to a PowerApp' actions at the end, which output will cause a text label to pop up in my PowerApp to confirm whether the flow has succeeded.

    Gilmour_0-1675439942083.png

    For this purpose, I have created a variable in the app called 'varNewScheduleCreated' whose value equals the NewScheduleCreated output resulting from the flow (either 'true' or 'false').

    • Here is where I believe your flow is actually returning the word "true" or "false" as opposed to a boolean, which is causing the incompatible type conflict, but it's fix-able if I'm on the right track.

     

    My alert text label has its Visible property set to 'varNewScheduleCreated' so it should appear once the flow is completed with a 'true' outcome. 

    • Here's part of the problem, the outcome of the flow I believe is a string of either "true" or "false"
    • Try changing this Visible property to varNewScheduleCreated = "true"

     

    Finally, I have a button whose 'OnSelect' property is set to 'Set(varNewScheduleCreated,false)', so by clicking I can hide the alert text label once I'm done.

    • Here's part of the problem I believe. You're setting varNewScheduleCreated as a boolean data type, TRUE or FALSE. 
    • Try changing this OnSelect property to Set(varNewScheduleCreated, "false")

     

    The process built as described above doesn't work and I receive the following message when trying to use 'varNewScheduleCreated' for the 'OnSelect' property of the button.

     

    Gilmour_1-1675440623882.png

     

    Thanks for helping!



    See what I mean? Just have to make the types of values match each other, is all.

  • Gilmour Profile Picture
    362 on at

    That did it! Thank you!

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

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard