The maximum duration is an additional planning parameter, that the user can provide on the date screen. The User can provide the maximum total duration as a new constraint for the planning. The VSS SRS Planning Engine tries to find an available appointment slot, where the total duration of the appointment will not exceed the maximum duration specified by the user.
If the search is not successful, the user receives feedback.