Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This feature is not General Available yet, please reach out to us if you need more information.

Parent and child reservations are a useful feature if you want to split your reservations into smaller reservations. This can help you optimize your planning by allowing you to specify what you need for parts of the reservations.

Tip

Sample use case where a client books an appointment for a treatment for an hour.

  • Parent reservation at clinic Amsterdam between 10:00 - 11:00

    • Child reservation 1 (intake) - 10:00-10:15

      • Intake room 1 + Support Staff

    • Child reservation 2 (medical treatment) - 10:15 - 10:45

      • Treatment Room 2 + Doctor Staff

    • Child reservation 3 (Recovery) - 10:45 - 11:00

      • Resting room 1 no staff needed

Making your staff available in the location can be done by creating Multi-Dimensional Availabilities to the main location. So to resource Amsterdam in this example.

Setting it up Parent Child Reservations starts with creating a reservation blueprint, this If you want to expose Parent & Child reservations to an external website or mobile app, it starts with creating a Reservation Blueprint. This basically determines what the actual parent and child reservation combination consists of and creates the possible combinations for the API to consider and which fields should be set on which reservation.

Info

Try to make these templates as specific as possible, as they determine how many combinations will need to be conflict checked. This is a very performance demanding task for Salesforce, so try to keep the options as limited as possible.

Extending the number of staff/resources and or sub-reservations multiplies very quickly.

To accomplish the same use case you need to take the following steps:

...

Blueprint

The blueprint offers you the possibility to determine in which order a parent/child reservation combination should be made and how long it takes. You can set a duration and use the Order field to control the sequence in which the child reservations should take place. If you want some buffer time between child reservations, give them a Reservation Type which has a buffer.

Fields to set

The blueprints also offers the possibility to determine which fields to set on the parent or child reservation. This lets you specify what Reservation Type it needs to have, if it needs a Staff and or Resource for example.

The blueprint offers 5 methods to set fields:

Method to get value

Description

Example Usage

Copy from parent resource

Allows you to copy the value from the parent resource

Add all reservations to the same resource

Literal value

Allows you to put a literal value or id in a field

Give the same Title to every parent/child reservation

Record by name

Allows you to set a record by name in the field

Set a reservation type

Child of Parent Resource

Allows you to specify that the Resource in the child reservation needs to be a child of the parent reservation resource.

Allows you to specify that the Resource in the child reservation needs to be a child of the parent reservation resource.

Available at Parent Resource

Allows you to specify staff or other dimension should be available using in the Parent Resource using a Multi-Dimensional Availabilities

Only staff members available in Amsterdam should be considered.

Filter rule

On both “Child of Parent Resource as Available at Parent Resource you can apply dimension filters. This allows you to narrow down which dimension records need to be considered. For example you can say, Child reservation 1, needs a resource of type “intake room” which is available in the parent resource. Or you could say, Only Staff members of type “Nurse” should be considered in Child reservation 1.

Example to for a setup:

  • Go to Reservation Blueprints

  • Create a new blueprint called Treatment appointment Appointment to create the parent

  • Give it a duration of 60 minutes and a Name and save

    image-20240429-122153.pngImage Removed

...

  • Go to

    related,

    fields to set

    • Add reservation type:

      Treatment

      Appointment

      image-20240429-122246.pngImage Removed

...

  • Create a new child blueprint called Intake

    image-20240429-122332.pngImage Removed

  • Give it a duration of 15 minutes

  • Give it a order, this determines the sequence in which the reservations take place, 1 in tis case

    • Go to related, fields to set

      • Add reservation type: Intake

      • Add fields to be set: Reservation Type

      • Add fields to set : Resource Staff Available in parent resource. ( this only takes into account staff members available in a resource using Multi-Dimensional Availabilities

        image-20240429-122635.pngImage Removed

  • Create a new child blueprint called Medical treatment

  • Give it a duration of 30 minutes

    • Add reservation type: Treatment

    • Add fields to be filled: Staff available in Parent Resource

    • Add fields to be filled: Resource in parent resource

      image-20240429-141638.pngImage Removed

  • Create a new child blueprint

  • Give it a duration of 15 minutes

  • Go to related, fields to set

    • Add reservation type: Recovery

    • Add fields to be filled: Resource in parent resource

...

      • image-20240613-134719.pngImage Added

  • Then add which resource this child needs to have. In this case it needs to be a child resource of the resource of the Parent reservation.

...

Usefull links if you want to use Blueprints using the API:

ReservationBlueprints

ReservationCollection

...