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

Condition searching through too many calendar events

Is there anyway to stop a condition from searching through all calendar events once it's found it's match?

 

The condition I have looks like this:

flow2.PNG

But when it runs, it actually searches through the whole calendar and takes ages to match up.

 

flow.PNG

 

I'm worried that when I get hundreds of people filling out the form and it takes this long to complete that it might cause issues.

 

1) is it actually an issue that a full completion of the process will take 10-15 minutes when multiple may happen at once?

2) is there a way to stop it searching through the 256 calendar events when it's found the right one?

 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Condition searching through too many calendar events

Hi @khaycock ,

 

There is no any way to stop it searching through the all calendar events when it's found the right one currently since the action in the apply to each is run synchronous.

I suggest that you could add a "Filter Array" action to check the match items firstly and then you could get each item with an apply to each.

 

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
Helper I
Helper I

Re: Condition searching through too many calendar events

Hi @v-alzhan-msft,

 

This didn't make it any quicker really unless I haven't got the order correct. Do you mind please checking it for me?

 

 flow3.PNG

 

Many thanks,

Kathryn

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (3,527)