TimeSlotConfig

This class stores configuration for passing to endpoints that generate time slots. Its properties are @AuraEnabled to make them accessible in flows.

See Blueprint Time Slot Picker Flow for an example of how this class can be used in a flow.

Properties

Name

Type

Description

dateRange

DateRange

The date range that the generated slots should cover.

duration

Integer

Duration in minutes of the generated time. Defaults to 60.

interval

Integer

Interval in minutes between the start times of consecutive slots. Defaults to the duration of this TimeSlotConfig instance. A value higher than the duration will result in gaps between slots. A value lower than the duration will result in overlapping slots.