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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (5,086)