cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thokin
New Member

Meetings times suggestions does not respect busy in calendar

Hey guys, first post so be gentle ^^ 

Im trying to apply the concept of timeblocks in my organization. 

My flow uses the "get meeing times" to return a pre-specified number of suggestions. 

Then I filter the suggestions according to when organizer is free -> ( item()?['OrganizerAvailability'] = free )

 

My issue is two fold

1. Meeting time suggestions where the calendar is busy returns as free. 

2. Suggestions come back with UTC time, and not W.Europe Standard Time

 

I've spend a few hours to understand this problem, but have not been able to fix this. 

Any advice here would help me greatly. 

 

 

Here is a picture of my flow. 

I declear the variables in the scope for how a timeblock looks like. Parameters are "Durations", "Title", Search_Start and Search_End. 

In addition I use "W. Europe Standard Time" as the timezone. 

 

In an attempt to format start and end time for meeting time i have made this. 

Start time:

addHours(startOfDay(formatDateTime(convertTimeZone(utcnow(), 'UTC', outputs('Your_Time_Zone'))), 'HH:mm'), outputs('ScopeStart'))
End time:
addHours(startOfDay(formatDateTime(convertTimeZone(utcnow(), 'UTC', outputs('Your_Time_Zone'))), 'HH:mm'), outputs('ScopeEnd'))

 

image.png

 

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @thokin ,

 

Could you please share the screenshot of the run history of the flow?

For the second issue, Microsoft flow would return UTC time as you said., if you want the W.Europe Standard Time to be returned, you could take a try to the Convert time zone action.

 

 

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.

Thank you for your response @v-alzhan-msft ,

 


Here is a copy of the run history. 
As we can see it suggests 11:00 til 12:30

I have lunch scheduled at 11:00 and is set at busy

I suspect this is due to the UTC, even though I tried addressing that problem with the string i attached in my first post. 

But clearly that is only righting the parameters of start time and end time. 

Furthermore it seems like the find meetingtimes call is transforming it back to UTC

 

Given that i need both 'organizers availability' and the 'start time' to be correct I dont have any ideas for how to go about this. 

 

 

2020-09-01 08_28_00-Run History _ Power Automate.png

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,202)