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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,412)