cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kriscen
Helper I
Helper I

Flow Validation in Powerapps

Hi,

I made a foam where the user fills in his data and then clicks on a button that creates a PDF via a FLOW.

now i tryed to give him a hint if everything worked with the FLOW

so i created a Label :

If(MakePDF.Run(HtmlText1.HtmlText;TextInput1).return = "false";"fail";"correct")

and this is the flow:

validation Flow.PNG

can you help me? 
what have i made wrong?

 

 

Thanks in advance for your guidance!

 

Christan

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @Kriscen ,

You seem to have the logic the wrong way around - a return from the Flow indicates it has run. Would a Variable work better?

Set(
   vFlowRun;
   MakePDF.Run(
      HtmlText1.HtmlText;
      TextInput1
   ).return
);;
If(
   vFlowRun = "false",
   Notify("Your Flow has run",NotificationType.Success);
   Notify("Your Flow has failed",NotificationType.Error)
)

 

Please click Accept as solution 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 Thumbs Up.

Kriscen
Helper I
Helper I

i'm alredy getting a notification but it's allways "Your Flow has failed"

and when i look at the flow it self this is what i get:

Kriscen_0-1616054870280.png

error.PNG

ActionResponseSkipped. The execution of the "To_Power_App_or_Response" template action is skipped: The client application is not waiting for a response from the service.

@Kriscen ,

A strange error as you are simply sending a static response - this seems to be a Power Automate question and you will probably get a quicker response from the experts over at the Power Automate Community

 

thank you anyways

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,945)