---
schema_version: "1"
id: 15cf6347ff616cea0799dccfa05c7330ce49ccff9d729f12be619d53db023b3c
title: Specify Visit Frequency, Duration, and Visit Windows
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/salesforce_maps_adv_visitplan_datasets_create_requirements.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.salesforce_maps_adv_visitplan_datasets_create_requirements.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b7c22deb0a7d5df1030cdaf69807f58115b87d2a6f7beaa6c4355ce7607e5c14
description: In Salesforce Maps Advanced, specify your visit requirements manually or get them from fields in a routable object.
products:
  - Sales
  - Salesforce Maps
release: "264"
---
# Specify Visit Frequency, Duration, and Visit Windows

In Salesforce Maps Advanced, specify your visit requirements manually or get them from fields in a routable object.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=sales.salesforce_maps_editions.htm&amp;release=264.0.0&amp;type=5" title="Identify supported Salesforce editions, user interfaces, and product areas.">View supported editions</a>.</td></tr></tbody></table>

1. In the dataset wizard, under Visit Requirements, enter the days between visits in **Minimum Days** and **Maximum Days**. As a shortcut, select a frequency from the Suggested Frequency list.
    
    For example, each account requires three visits over a 90-day period, or one a month. You divide the total days in the period by the number of expected visits, and you set Maximum Days to 30 and Minimum Days to 27.
2. If an object field contains your visit frequency, select the field from **Value from Selected Field**. If the field doesn’t contain a value, then routes use the values in **Minimum Days** and **Maximum Days**.
    
    ![Visit Requirements page showing custom visit frequency of 5-7 days.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-salesforce_maps-264-0-0-production-enus/2addcda4-01f0-4f47-83c5-f499a45bf555/salesforce_maps/images/dataset3_frequency.png)
3. Enter visit duration and buffer time in minutes, or select the field from **Value from Selected Field**.
    
    Buffer time is additional time to add to the Salesforce-calculated travel time between visits to account for unexpected delays, such as traffic congestion. Or, time for reps to take notes or walk across large parking facilities.
4. Under Visit Windows, specify the days and times for customer visits for this dataset.
    1. If a field on your routable object contains your visit window, select that field from the **Field Associated to Advanced Visit Windows** list.
    2. If there are two windows for visits on the same day, you can add a window.
        
        ![Visit Windows page showing weekdays 9:00 AM to 5:00 PM.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-salesforce_maps-264-0-0-production-enus/2addcda4-01f0-4f47-83c5-f499a45bf555/salesforce_maps/images/dataset3_visitwindow.png)
        
        For example, store franchise customers prefer visits from 9:00 AM to 11:00 AM, and then again from 1:00 PM to 4:00 PM.
5. Click **Next**.
    
    Field filters for future visits appear in the dataset wizard.

#### See Also

- [Set Up Visit Window Selection for Specific Routable Object Records](https://help.salesforce.com/s/articleView?id=sales.salesforce_maps_adv_finetune_visitwindows_lookup.htm&release=264.0.0&type=5 "Make it easy and intuitive for your reps to link a visit window to a customer by creating a lookup relationship and a menu option on the record page layout. If reps don't set visit windows at the record level, then Salesforce Maps Advanced uses the visit window in the visit plan when generating routes.")
- [Days Between Visits](https://help.salesforce.com/s/articleView?id=sales.salesforce_maps_advanced_concepts_minmaxdays.htm&release=264.0.0&type=5 "Learn how Salesforce Maps Advanced determines the dates for customer visits by using minimum and maximum days between visits.")