cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

To speed up my flow

This is my flow ......

 

After I click ,it will get my excel data then compare datetime  , if the data date is today , I will add row data to my string variable ,if not I will do nothing .

 

Now my excel data has 471 rows  ,run my flow ,it take more than 10 mins , I think in the  "not condiction"  because I do nothing let my flow speed so slow ,but when I add "terminate " it showed this error message .

 

Can anybody give me suggestion to speed up my flow , thank you very much !!!!

 

20190920-1.JPG

 

20190920-2.JPG

7 REPLIES 7
Highlighted
Dual Super User III
Dual Super User III

Re: To speed up my flow

Hey @JACK_LAI 

 

If you add the terminate action in the No branch, that means that the entire Flow will get terminated as soon as the first condition returns false. 

 

Note that you cannot use the terminate action in an apply to each loop because the purpose is to terminate the entire flow and not that particular iteration. 

 

Now you can actually use filter queries to filter data in the list rows/ get items etc. actions. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
Helper II
Helper II

Re: To speed up my flow

DEAR @yashag2255 

 In my excel file , it has 410 rows ,after my flow to check file content and post it to teams message ,it took more than 10 mins , I think it is to long to wait .

 

20190923-1.JPG

 

So which way could I  speed up my flow ????

Highlighted
Community Support
Community Support

Re: To speed up my flow

Hi @JACK_LAI ,

 

As @yashag2255  said, you could take a try with "Filter Array" action, and the screenshot of the flow should as below:

1.png

 

Best regards,

Alice       

 

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

Highlighted
Power Participant
Power Participant

Re: To speed up my flow

I have some tricks but is a little complex.

 

What you can first do is see this post:

https://veenstra.me.uk/2018/10/17/microsoft-flow-read-large-excel-files-within-seconds-without-creat...

 

This is the ultimate speed-up.

 

Also we have this other post:

 

http://johnliu.net/blog/2019/5/workarounds-needed-to-use-the-excel-connector-in-microsoft-flow

 

and this image extract from Jhon Liu blogimage.png

 


Did I answer your question? Mark my post as a solution!

Gustavo Moraes, o astronauta brasileiro do Flow!


Highlighted
Helper II
Helper II

Re: To speed up my flow

@v-alzhan-msft 

 

I use your method , and setup the filter array  ( the date is today"2099/09/23") if the date is today , I will put it on variable string .

But after 14 mins , the process is still running .

Which wrong with my flow ??

 

20190923-2.JPG

 

20190923-1.JPG

Highlighted
Power Participant
Power Participant

Re: To speed up my flow

Jack, this is the normal time of excel connector. See my post before and use graph to read excel. This will speedup a lot your flow

Did I answer your question? Mark my post as a solution!

Gustavo Moraes, o astronauta brasileiro do Flow!


Highlighted
Helper II
Helper II

Re: To speed up my flow

@gamoraes 

 

could you give the aritcle url to "know how to use graph to get excel data"

 thank you very much

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (1,845)