How to prevent Overlapping Bookings

Thank you everyone for your help. I was able to fix it with the help of Chat GPT. These are the new constraints that have allowed to me to reach the desired result. And if anyone is interested, check the editor using the link above.

e

Glad you got something to work. Not a great solution but if it works for you that is great. Main reason it’s not great is you will be charged WUs to perform the search you placed as a conditional on the action of create meeting. This means everytime the button is clicked to schedule, the search will be performed to evaluate the condition.

This may be sustainable for a true MVP or a basic internal tool not meant to be used often, but for a live app, the costs could prove too high for the setup to be viable.

Optimally, you’d only show the user what they can book in the search results of the available events.

Thank you for your valuable insight Boston. I will definitely build an availability schedule now that I’m know that this will cost me a lot of WU.