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

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
Dual Super User

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!

JACK_LAI
Level: Powered On

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 ????

Community Support Team
Community Support Team

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.

Super User
Super User

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!


JACK_LAI
Level: Powered On

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

Super User
Super User

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!


JACK_LAI
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,835)