This element has several sub flows, depending on the requested time available or not. When the requested slot is not available, element exposes suggestions, an array of time slots that could be offered to the end user.
Context ID - ID of the referenced IAppointmentsContextAppointment Date - Optional, requested date in the Y-m-d format (the MySQL DATE format)Appointment Time - Optional, requested time in the H:i:s format (the MySQL TIME format)Email - Optional, user identification. If present, it might serve for better suggestions.Result Variable Name - Default status, name of the variable that contains additional information (suggestions: array of suggestions, requested_time: requested appointment as timestamp, timezone: preferred timezone)Timezone Mode - DEFAULT will use default timezone from referenced appointments context, CLIENT will try to get client information or SET will allow you to explicitly set the value.Timezone - only when timezone_mode is SET. PHP timezone name.Example of ${status.suggestions} Return Variable Name value:
[
{
"timestamp": 1641913200,
"timezone": "UTC"
},
{
"timestamp": 1641996000,
"timezone": "UTC"
}
]
Available Flow - executes when the time slot is availableSuggestions Flow - default flowSingle Suggestion Flow - if one suggestion is available and no elements are present in Single Suggestion Flow, Suggestions Flow will be executedNo Suggestions Flow - no suggestions, if it is empty, Suggestions Flow will be executedSuggestions Builder - Component of type IFreeSlotQueueFactory which serves for building suggestions. You can use Default free slot collector element or you create your own suggestion's builder element.