I am unable to come up with a solution to this, maybe someone can.
I’m trying to create a, somewhat, scheduling function in my app, here is the flow.
- A user sets their availability, say 9 am -5 pm.
- The workflow will create 30-minute slots between 9 am and 5 pm.
- A user will select a duration for the appointment, 60 min, 90 min, 120, min
- The system will schedule multiple 30-minute slots to accommodate the duration selected by the client.
If a client selects a 60-minute session, Bubble will schedule two 30-minute slots. This is done to keep the schedule availability dynamic. For example, if we do slots of 60-minutes instead and someone wants to book a 90-minute session, we can have an administrator correct for that, but that would leave 30 minutes wasted.
I have been able to get all of the above to work, but there is one glaring issue. getting the repeating group that shows the availability to know if someone is selecting a duration that isn’t available. For example. when someone selects a 90-minute appointment and start looking at the repeating group of available times. The schedule might show from 9 am to 4:30 pm and someone can select the 4:30 pm time, but there isn’t space at that time for a 90-minute session.
Here is what I am looking for: I want to be able to pull data into a repeating group that is within the constraints of the duration. So if someone selects a 90-minute session, the system understands that is three 30-minute intervals and doesn’t show times where that is not the case.
I think I did a pretty good job of typing that out, but here is a loom video just in case: https://www.loom.com/share/909e0635a76c482bbf00dedab56821c6
Let me know
PS. I’m willing to pay if this is something you would be comfortable helping with.