cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MangoMan09
Level: Powered On

How can I request an already booked room

I am currently making a meeting booking app in Powerapps using office 365 and sharepoint.

Started with the meeting screen template on the new screen tab and spilt its contents accross some screens.
One of the features I added was a matchmaking rating that takes into account the capacity, location and equipment present in a given room.

Using the AvailableRooms collection that comes with the template i was able to mark each room as available/unavailable. 

Now here's the issue, one of the requested features was to send a request , can be a simple email for now, that asks the owner of a given meeting if he can give the room up.

On Sharepoint Im currently tracking the booked meetings witha list called  MeetingSessions that store all the data used on the booking process, with the following columns:

MeetingName	- Single line of text	
StartTime	 - Date and Time	
EndTime - Date and Time	
Participants - Person or Group	
MeetingRoom - Lookup	
Catering	- Lookup	
Cleanup - Single line of text	
Duration - Number	
Modified	- Date and Time	
Created	- Date and Time	
Created By - Person or Group	
Modified By - Person or Group	

With what I have, is it possible to send an email to the people that have the room booked for my selected hours?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How can I request an already booked room

Hi @MangoMan09 ,

Since you didn't show me your formula, I could only give you some thoughts.

Firstly, you need to find the booked room people.

ClearCollect(test,
Filter(MeetingSessions, Not(DropdownStartTime.Selected.Text>=MeetingSessions.EndTime||
DropdownEndTime.Selected.Text<=MeetingSessions.StartTime
)
)
)

Then, send email to those meetings's 'Created by' people.

ForAll(test.Created by,Office365.SendEmail(Created by, etc....))

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: How can I request an already booked room

Hi @MangoMan09 ,

Since you didn't show me your formula, I could only give you some thoughts.

Firstly, you need to find the booked room people.

ClearCollect(test,
Filter(MeetingSessions, Not(DropdownStartTime.Selected.Text>=MeetingSessions.EndTime||
DropdownEndTime.Selected.Text<=MeetingSessions.StartTime
)
)
)

Then, send email to those meetings's 'Created by' people.

ForAll(test.Created by,Office365.SendEmail(Created by, etc....))

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

MangoMan09
Level: Powered On

Re: How can I request an already booked room

@v-yutliu-msft sorry I forgot to add some code snippets but your proposal seems interesting.

I'll try to apply it and see what results it brings!

MangoMan09
Level: Powered On

Re: How can I request an already booked room

@v-yutliu-msft  that did it!

I set up a few fields so the user could send a personalised subject and message and the creators of the meetings that were using the desired room got them. 

Many thanks!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 315 members 4,728 guests
Please welcome our newest community members: