cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
khaycock
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:

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

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.

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

 

 flow3.PNG

 

Many thanks,

Kathryn

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,875)