cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SatyaUSAP
Level: Powered On

Collections not Waiting for Flow to complete

Hi there , 

 

i was trying to execute the stored proc and display results in power app. it worked till yesterday . today found issue that the clearcollect(Collectioname, flowName(parmas)) is not waiting for flow to complete. please suggest me how to solve it.

 

 

Thank you,

Satya

2 REPLIES 2
EricLott
Level 10

Re: Collections not Waiting for Flow to complete

If you add a "Respond to PowerApps" action at the end of the Flow, I believe PowerApps will wait until the Flow has finished.

Community Support Team
Community Support Team

Re: Collections not Waiting for Flow to complete

Hi @SatyaUSAP ,

Could you please share a bit more about your scenario?

Do you mean that the ClearCollect function would be executed before your flow is completed?

Could you please share a screenshot about your flow's configuration?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please make sure that your flow has been executed successfully.

 

Also please consider remove the flow connection from your app, then re-add a new connection to your flow from your app, then try the "FlowName".Run(...) formula again, check if the issue is solved.

 

Please check if you have typed proper formula to call the flow in your app. E.G.

ClearCollect(
              RecordsCollection,
             'FlowName'.Run(argument1, argument2, ...)
)

 

In addition, please also check if you have made some changes to your SQL Procedure/SQL Table, if yes, please also made changes in your flow to apply the changes in your SQL Procedure/SQL Table.

 

Please check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,785)