cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bambula
Advocate III
Advocate III

How to check if conference room is free/busy

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @Bambula,

 

I would have expected the first event created would set your availability to busy for the 09:30 - 10:00 slot on the 29th. But, I might be wrong.

 

Can you configure the Show as field in the Create an Event (v4) in the If Yes section as busy? Let's see if that makes a difference.

 

showas_busy.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

19 REPLIES 19
Expiscornovus
Most Valuable Professional
Most Valuable Professional

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



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


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
Most Valuable Professional
Most Valuable Professional

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.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Expiscornovus
Most Valuable Professional
Most Valuable Professional

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



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

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
Most Valuable Professional
Most Valuable Professional

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?



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

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
Most Valuable Professional
Most Valuable Professional

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



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

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
Most Valuable Professional
Most Valuable Professional

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



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

hi  @Expiscornovus , I removed the action but my expression result is false. 

 

Bambula_0-1664357122144.pngBambula_1-1664357159366.png

Thank you very much for helping me.

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @Bambula,

 

It looks like the organizer/the account used in the connection of the create the event action is already busy (pozbolt) during that start/end time.

 

Not only the attendee and the resource/room need to be free, also the organiser needs to be free in order to be able to find a meeting slot and to meet the conditions to create an event.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

hi @Expiscornovus , i used date 

Bambula_0-1664358576593.png

sunday and no meetings but still is false . 

Bambula_1-1664358607301.pngBambula_2-1664358635899.png

Bambula_0-1664363123664.png

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @Bambula,

 

The default setting for the Find Meeting Times (v2) action is that it will look for available time during work days. I expect Sunday is not a working day for you/the organizer 😉

 

Can you test it with a Mon-Fri kind of working day which is free in the Calendar or alternatively, change the Activity Domain setting in the action?

 

findmeetingtimes_work.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

hi @Expiscornovus, Date I put is 29.09.2022. thursday 09:30 - 10:30.

 

Bambula_0-1664369088556.png

when I put Unrestricted or Personal condition is True but still create more than one event. When is the domain "Work" still condition "false",

Bambula_1-1664369147170.png

Bambula_2-1664369207573.png

2022-09-28 14_52_22-Calendar - Paulo Ozbolt - Outlook.jpg

The event is created in only one free room "west" it's working but why does flow creates 4 more flows with no location?

Bambula_3-1664370110534.png

 

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @Bambula,

 

I would have expected the first event created would set your availability to busy for the 09:30 - 10:00 slot on the 29th. But, I might be wrong.

 

Can you configure the Show as field in the Create an Event (v4) in the If Yes section as busy? Let's see if that makes a difference.

 

showas_busy.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

hi @Expiscornovus it's working yey 😄 and send emails .

Bambula_0-1664372958579.png

Bambula_1-1664373010239.png

Now is only one problem, how to stop the flow to create empty events with no room.

Bambula_2-1664373134978.png

 

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @Bambula,

 

Depends on what value you are using in your initialize variable action?

 

If you are using the below it will loop through 2 items

 

rooma@contoso.onmicrosoft.com;roomb@contoso.onmicrosoft.com

 

 

If you are using a value which ends with a ; character it will split it into 3 items, the last one being empty/null

 

rooma@contoso.onmicrosoft.com;roomb@contoso.onmicrosoft.com;

 

 

See the below example in a Compose:

 

split('rooma@contoso.onmicrosoft.com;roomb@contoso.onmicrosoft.com;', ';')

 

 

split_output.png

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #MicrosoftCopilotStudio content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Bambula
Advocate III
Advocate III

Hi, @Expiscornovus I am using 

Bambula_0-1664436291625.png

Bambula_1-1664436314862.png

Now create only 3 meetings it sends mail and it says which room is free or busy.

Bambula_2-1664436644858.pngBambula_3-1664436674397.png

Bambula_4-1664436728608.png

 Says the room is

Bambula_5-1664437189409.png

but still creates a meeting. Is there any way to avoid it?

Only to create one meeting in the free room.

Bambula_6-1664437384684.png

 

But it works well. You help me a lot.

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,208)