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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to check if confer...
Power Automate
Answered

How to check if conference room is free/busy

(0) ShareShare
ReportReport
Posted on by 169

Hello, I am working on the Onboarding flow and need advice on checking if the conference is free. If the conference room is taken I would like to book another one but my flow takes the same room . Flow trigger is when the item in SharePoint is created . When the 1st day is the office I would like to check whether the conference is occupied and to book the next available conference room.

 

Bambula_0-1664185078601.png

Bambula_2-1664185456705.png

Please, can you give me some advice because I'm obviously doing something wrong?

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @Bambula,

     

    Are you currently using a Find meeting times action in your setup?

     

    Within that action it is possible to use a room in a resource attendees field. The response of that action will tell you if the attendees are available for your meeting (start and end time need to be included). With a condition you can check what the outcome is of this action.

     

    Below is an example.

     

    Check if it has found any meeting suggestions at all.

    length(outputs('Find_meeting_times_(V2)')?['body/meetingTimeSuggestions'])

    is greater than 0

     

    Check if the empty reason is empty

    empty(outputs('Find_meeting_times_(V2)')?['body/emptySuggestionsReason'])

    is equal to true

     

    Check if the found slot is 100 confidence score. If it is for example 50 one of the attendees can't make it.

    outputs('Find_meeting_times_(V2)')?['body/meetingTimeSuggestions'][0]['confidence']

    is equal to 100

     

     

    room_resourceattendees.png

  • Bambula Profile Picture
    169 on at

    hi @Expiscornovus, I try to find a meeting but still create the meeting in only one room.

    Bambula_0-1664281413211.png

    Bambula_1-1664281628313.png

    There's no way he can make me a meeting for the south even though the north is busy. It makes me 3 the same meetings still. This is part of the Onboarding app when in SharePoint list item is created.

    Bambula_3-1664281988066.png

    After that when is AutoSchedule true I would like to check conference rooms and in the free room create a meeting.

     

    Variable for conference rooms 

    Bambula_2-1664281878510.png

     

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @Bambula,

     

    Apologies, the solution I suggested checks one conference room at the time for availability. 

     

    Let me have a look if I can change the configuration to facilitate checking two or more conference rooms.

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @Bambula,

     

    I would use a split on the Conference room variable with the ; character. Loop through the results of the split and check per room if it has a 100% confidence match. If so, book the meeting for that attendee and room mailbox.

     

    Below is the adjusted approach.

     

    I used this for the split

    split(variables('RoomMailbox'), ';')

     

    And I am using item to refer to each room within the loop.

    item()

     

    findmeetingroom.png

  • Bambula Profile Picture
    169 on at

    Hi @Expiscornovus It's working for me thank you.

    Bambula_0-1664303000414.png

     

    Now I have only one problem, events are created in all conference rooms. 

    Bambula_1-1664303047036.png

    I need to check the availability of Conference rooms and avoid conflicts. This I use if the new employee is first-day location office. If somebody has already been taken conference room two events are created in the same conference room.

    These are events from my onboarding app. 

    Bambula_2-1664303626640.png

     

     

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @Bambula,

     

    That is not what I expected from this setup 😅

     

    When the first free meeting room (say Room A) is found the event will be booked for both the attendee and the room.

     

    When it loops and tries to do the same for the next room (Room B) in the loop I would expect every option to come back with a confidence of 50 because the attendee is already booked for that same time in Room A.

     

    The same rule applies for the resource attendee (room). If it is already booked it should come up at 50 or even lower. 

     

    Can you share your flow run history?

  • Bambula Profile Picture
    169 on at

    hi @Expiscornovus , here is my flow history 

    Bambula_0-1664351689311.png

    This is in a test environment when the flow will work I will migrate it to my onboarding flow.

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @Bambula,

     

    Apologies, I need to be a bit more specific. I was talking about the details of your flow run.

     

    I am interested in the output of the Meeting time suggestions field of each item in your apply to each loop. Also see the animation below how you can find that.

     

    FlowHistory_MeetingTimeSuggestions.gif

  • Bambula Profile Picture
    169 on at

    hi , @Expiscornovus I'm sorry my bad.

    here is run history 

    Bambula_0-1664353900648.png

    Bambula_1-1664353995055.pngBambula_2-1664354005985.png

    ty you for helping me .

     

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @Bambula,

     

    In this example it cannot create an event at all, because the organizer already is busy.

     

    Btw, I did not notice before. But I see you have an create event (v4) 4 action in the If No section.

     

    Can you please remove that action. That action is not needed. You only want to create an event if the "room is free" conditions are met (If Yes), correct?

     

    deleteinifyes.png

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard