Skip to main content
Community site session details

Community site session details

Session Id : QBDc6JA7cWnspN0Gb0LKsP
Power Apps - Building Power Apps
Answered

Response to Power Apps

Like (0) ShareShare
ReportReport
Posted on 3 Feb 2023 16:22:06 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!

  • Gilmour Profile Picture
    362 on 03 Feb 2023 at 17:46:10
    Re: Response to Power Apps

    That did it! Thank you!

  • Verified answer
    zmorek Profile Picture
    3,272 on 03 Feb 2023 at 16:36:14
    Re: Response to Power Apps

    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 03 Feb 2023 at 16:28:11
    Re: Response to Power Apps

    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

     

  • zmorek Profile Picture
    3,272 on 03 Feb 2023 at 16:24:30
    Re: Response to Power Apps

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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete