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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,261)