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

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:


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




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?


Community Support Team
Community Support Team

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,



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.

Level: Powered On

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?




Many thanks,


Helpful resources


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

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


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

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