Versions Compared

Key

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

There are two time slot picker components available in flows. This article describes their use cases and configuration options.

Single dimension time slot picker

The single dimension time slot picker allows the user to select a time slot when at least one dimension record (out of multiple) is available.

Use this component if users need to pick a time when:

  • A single specific dimension is available (i.e. when is this room available)

  • Any one dimension out of a collection of dimensions is available (i.e. rooms in a building, and it does not matter which room)

A sample flow using this component could look like this, with the result shown in the video on the right:

Configuration Options

The single dimension time slot picker has the following configuration options for admins:

Field

Input/output

Required/optional

Description

List of Dimension Ids

Input

Required

A list of dimension-ids need to be provided. This can, for example, be a list of all the resources you want to allow the Time Slot Picker to search through.

Reservation Type

Input

Required

The Name of the Reservation Type. You can set the duration of a Timeslot on this reservation type. The fallback is set to 60 minutes.

Should the Timeslot Picker be required?

Input

Required

Expects {!GlobalConstant.True} or {!GlobalConstant.False}. Determines if the value needs to be filled before navigating to the next step.

Date

Input

Optional

A date needs to be parsed to allow the Time Slot Picker to fetch the available time slots for that day.

Reservation

Input

Optional

You can optionally set a sample reservation if there are any other dependencies that should be taken into account when creating the timeslot

Show Date Input field

Input

Optional

Expects {!GlobalConstant.True} or {!GlobalConstant.False}. If true, a date picker is shown at the top which can be used to navigate between days.

Reservation

Output

N/A

Make sure to manually assign the output Reservation (under advanced) to a “Record (single) Variable” of the type B25__Reservation__c. You can use this reservation to either extend in your flow or save it directly after using this component.

Reservation time slot picker

The reservation time slot picker allows the user to select a time slot when a given reservation is possible.

Use this component if you already know what is being booked, but the user still needs to select a time.

So for example you already know which dimensions need to be available (room/staff/etc), and want the user to choose a time slot when all of those are available.

Note

This component can only be used together with the new Conflict Rules.

Configuration Options

The reservation time slot picker has the following configuration options for admins:

Field

Input/output

Required/optional

Description

Start of Range

Input

Required

Start date or datetime of the range to search for available time slots.

End of Range

Input

Required

End date or datetime of the range to search for available time slots.

Duration

Input

Required

Duration (in minutes) of each time slot in the result.

Interval

Input

Optional

Interval (in minutes) between the start of each slot. Defaults to the duration, resulting in back-to-back slots.

Reservation

Input

Required

The reservation to find available time slots for. Make sure to populate it with all dimensions that need to be available, as well as any other data that is relevant to finding available slots.

Junctions

Input

Optional

A list of junctions that need to be available during the resulting time slots. You can add multiple lists of junctions by repeatedly clicking the ‘Add Junctions’ button.

Reservation

Output

N/A

A copy of the input reservation, with the selected times set. If you have any junctions, you still need to 1. insert the reservation, 2. set the reservation lookup on each junction, and 3. insert the junctions.

Make sure to manually assign the output Reservation (under advanced) to a “Record (single) Variable” of the type B25__Reservation__c.