Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Using the Time Slot Picker in a Screen Flow

You can use the Time Slot Picker as part of your Screen flows in Salesforce. This component is labeled: Single dimension time slot picker. This component expects a number of variables to be passed into the Time Slot Picker screen component. The following variables have to be provided

Field

Input/ouput

Description

List of Dimension Ids (Required)

Input

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 (Required)

Input

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? (Required)

Input

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

Date (Optional)

Input

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

Reservation (Optional)

Input

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 (Optional)

Input

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

Reservation

Output

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.

A Sample flow would look like this, which has the output as shown in the video on the right.

  • No labels