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 III
Super User III

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,262)