Versions Compared

Key

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

...

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.

Example

Here is an example of a screen flow with this component

...