cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SANA24
Frequent Visitor

Find free meeting Times in working hours

Hello,

 

I need to find free meeting times in working hours: 

  • From monday to friday
  • From 8:00 to 17:00
  • Located in Berlin

 

SANA24_0-1656976605566.png

 

I could filter the working days (monday to friday). But I get as output meetings from 06:00 to 07:00.

 

Find meeting times (V2)

Start time:

The next working day

if(equals(dayOfWeek(utcnow()),5),startofday(adddays(convertFromUtc( utcnow(),outputs('Your_Time_Zone')),3)),if(equals(dayOfWeek(utcnow()),6),startofday(adddays(convertFromUtc( utcnow(),outputs('Your_Time_Zone')),2)),startofday(adddays(convertFromUtc( utcnow(),outputs('Your_Time_Zone')),1))))

 

End time:

In the next 240 hours

addHours(utcnow(),240)

Max candidates: 1

 

Fillter array

SANA24_1-1656976605568.png

 

I would be grateful for your support.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @SANA24 ,

 

You could consider using addhours action to add two hours for each timestamp.

 

Best Regards,

Bof

View solution in original post

4 REPLIES 4
v-bofeng-msft
Community Support
Community Support

Hi @SANA24 ,

 

The point is that the output time is UTC time, if converted to Berlin time plus 2 hours, so you get 6:00 to 7:00 converted to Berlin time is 8:00 to 9:00.

vbofengmsft_0-1657160252423.png

 

 

Best Regards,

Bof

Hello @v-bofeng-msft ,

thank you for your reply.

Okay I understand the problem but how to solve it?  How to obtain as output the needed date and time, which are free slots from Monday to Friday (from 08:00 to 17:00).

In the end I need to send an email with the available Meting Times. The flow worked but has the issue with the non exact output.

SANA24_0-1657208895587.png

 

 

 

SANA24_1-1657208895589.png

Thank you for your help!

Hi @SANA24 ,

 

You could consider using addhours action to add two hours for each timestamp.

 

Best Regards,

Bof

SANA24
Frequent Visitor

Thank you @v-bofeng-msft  i will try and come back to you. 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,388)