cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cola
New Member

Respond to a PowerApp or flow always respond false

Hi, everyone

 

I am trying to create a canvas app link to a power automate flow to upload local files to SharePoint Library. But the respond from flow always FALSE. Please see my design below. Thanks.

 

1. For the button OnSelect properties 

    a. setup blank variable.

        Cola_0-1621584687860.png

    b.run the flow and assign the execution result to that variable

        Cola_1-1621584774275.png

    c.use this variable as the logic_test of IF function, if true will execute the Navigate and Notify

        Cola_2-1621584851332.png

 

2. For the flow as below:

   a. Initial a blank Boolean variable named varSuccess

        Cola_3-1621584951662.png

   b. after create file then assign the TRUE to varSuccess

        Cola_4-1621585024037.png

   c. at the end of the flow, the TRUE will be assign to result and respond to Power Apps

       Cola_5-1621585069619.png

 

 

Actual result: the flow always respond false to Power Apps

1. the result in Power Apps

Cola_6-1621585235028.png

2. but the run history of the flow shows that the TRUE already assign to result

Cola_7-1621585294143.png

 

 

 

SOS!!! Does anyone met the same issue here? Or some Pro guys can help me out of this? Thanks A Lot!!!!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cola
New Member

I have already crack this case.

1. In the flow, I initial the varSuccess as String, and initial as blank.

2. Once the create file action succeed, I set the string "yes" to varSuccess.

3. For the Respond action, I setup the response as Text and set varSuccess to result.

4. In Power Apps, i setup an if for the flow run.

Cola_0-1621994054743.png

5. Then in the Power Apps, when I try to output the varSuccess, I will get the correct response.

View solution in original post

1 REPLY 1
Cola
New Member

I have already crack this case.

1. In the flow, I initial the varSuccess as String, and initial as blank.

2. Once the create file action succeed, I set the string "yes" to varSuccess.

3. For the Respond action, I setup the response as Text and set varSuccess to result.

4. In Power Apps, i setup an if for the flow run.

Cola_0-1621994054743.png

5. Then in the Power Apps, when I try to output the varSuccess, I will get the correct response.

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.

Top Kudoed Authors
Users online (4,127)