Skip to main content

How to Use Recurrence Rules

In this tutorial, you will learn how to:

  • Create a service for recurrence rules
  • Connect services with resources
  • Set capacity rules
  • Create schedules using basic and custom RRULE patterns
  • Test recurrence rule configurations

It can help you with:

  • Automating repeated scheduling
  • Managing recurring events efficiently
  • Reducing manual booking setup

Creating a service

Before creating the recurrence rules, you will need to create a service:

  1. Go to your Bookla platform account
  2. Go to the section "Services"
  3. Click button "+ New service"
  4. Write the service name and click button "Next"
  5. Click the service type. Recurrence rules can be added for these types of services:
  • Ticket
  • Group
  1. Click button "Next"
  2. Write the duration
  3. Choose the booking policy:
    • Instant Booking: The client receives confirmation immediately after booking
    • Needs Confirmation: The booking is confirmed only after manual approval
    • Needs Prepayment: The booking is confirmed after payment is made
  4. Click button "Create"

Connecting the service with a resource

  1. Click button "Link with resource"
  2. Select the resources
  3. Click button "Link resources"

How to create a schedule

Basic repeat rules: weekly, daily patterns

  1. Go to the section "Schedule"
  2. Click "+ Add Slot"
  3. Select the duration
  4. Select the resource
  5. Select the start date and time
  6. Click button "Weekly"
  7. Select every day where it repeats
  8. Click button "Create"

Custom Schedules: Multiple times a day

  1. Go to the section "Schedule"
  2. Click "+ Add Slot"
  3. Select the duration
  4. Select the resource
  5. Select the start date and time
  6. Click button "Custom [RRULE]"
  7. To create RRULE, you can use for example rrule.js
  8. In rrule.js, enter the data:
  • Delete the count "30", as the count would mean creating a specific number of events. If you have a specific number, then you can change it.
  • wkst: it means the first day of the week
  • byweekday: select all the days where your event will be happening
  • byhour: all the hours when the event will be happening, you can add multiple hours by separating them with ","
  • byminute
  • bysecond
  1. Copy the rule.toString()
  2. Paste the code under Custom RRULE
  3. Click button "Create"

Testing the component

  1. Click button "Preview"
  2. Select the date and the slots should be created

Conclusion

You have now learned how to create services, configure recurrence rules, and test your schedules in Bookla.