Skip to main content
Skip table of contents

Create reservations from blueprint

Returns all the possible combinations that can be made for a blueprint, given a prototype reservation.

Wraps around ReservationBlueprints.

The returned ReservationCollections will have their dimension lookups populated (for blueprint fields that have ‘Child of parent resource’ or ‘Available at parent resource’). This results in all the combinations for the blueprint regarding dimensions, but they do not yet have times set because they have not yet been checked for conflicts. In order to do so, and to find the times and combinations that are actually possible, pass them to Get time slots for reservation collections.

See Blueprint Time Slot Picker Flow for a template that uses this action.

Other useful related articles are: Parent & Child Reservations and Reservation Blueprints

Input Variables

Name

Type

Description

blueprintName

String

The name of the blueprint to use.

prototype

B25__Reservation__c

A reservation to use as the base for the generating reservations from.

mdaDateRange

DateRange

Required if any of the blueprint fields have ‘Available at the parent resource’ (usually these are Staff fields). Used to query MDA’s to limit the scope for these fields, by excluding records that have not been made available in the parent resource during this time period.

Output Variables

Name

Type

Description

collections

List<ReservationCollection>

A list of (parent/child) collections, each one representing a combination that can be made from the blueprint, with dimension lookups populated. Note that these do not have their time fields set yet.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.