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.
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.
Thanks for helping!
That did it! Thank you!
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.
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.
Thanks for helping!
See what I mean? Just have to make the types of values match each other, is all.
Hi @zmorek , to make sure I understand: should I have used a 'Yes/No' input in the flow action instead of 'Text'.
Thank you
The flow looks to be returning a string of either "true" or "false" not the value TRUE or FALSE. Have to make them match.
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1