web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Set the right time in start and end time expression to create event

(0) ShareShare
ReportReport
Posted on by 13

 Hello,

 i want to create a flow which follow these steps.

  1. When an item is created in SharePoint, the flow should check the availability of the needed Participants.
  2.  Invite all the needed participants for the first free slot in time.

The issue: i was able to create an event only for the next 2 days. When no free slots are available for the next 2 days, I couldn’t create an Event. See following Appendix

SANA24_0-1656969248354.png

The 07.05.2022 from 14:00 to 15:00 isn’t a free slot so the filter has no output for the Create event.

 

Find meeting times 1

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 2

SANA24_1-1656969248356.png

Create event 

Start time:

convertFromUtc(concat(body('Filter_Array')[0]['MeetingTimeSlot']?['start']?['dateTime'],'Z'),outputs('Your_Time_Zone'))

End time:

convertFromUtc(concat(item()?['MeetingTimeSlot']?['end']?['dateTime'], 'Z'), outputs('Your_Time_Zone'))

 

 

 

I have the same question (0)
  • vig_2909 Profile Picture
    8 on at
    Re: Set the right time in start and end time expression to create event

    Hey,

     

    Try to use parse function 

    you will  be able to get the date-time with which you can use apply to each to get other available days

     

    @DeepakS 

     

    Background : Finding Meeting V2 connector returns meeting schedule only for T+2days . Is there any better solution for this issue?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard