---
schema_version: "1"
id: 05d483eb3099fe3b51b3f60d3d88a542b6ea5721220e9120e5f2267254500892
title: Schedule a Dataflow to Run Automatically
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_integrate_dataflowjob_reschedule.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_dataflowjob_reschedule.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 960b07fbe37b1ecfb7937710e8d729d39ced856b11cc0a40a6938f82a06452ff
description: You can schedule a dataflow to run after an event, such as when a sync job completes. Or you can schedule it to run hourly, weekly, monthly, or on specific days of the week or dates.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Schedule a Dataflow to Run Automatically

You can schedule a dataflow to run after an event, such as when a sync job completes. Or you can schedule it to run hourly, weekly, monthly, or on specific days of the week or dates.

### 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;">Available in: Salesforce Classic and Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available for an extra cost in <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions. Also available in <a href="https://help.salesforce.com/articleView?id=bi_tutorials.htm&amp;language=en_US" target="_blank"><strong>Developer</strong> Edition</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d54271e49">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d54271e49 ">To schedule a dataflow
              job:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d54271e49 ">Edit CRM Analytics Dataflows</td>
          </tr>
        </tbody>
      </table>

Use event-based scheduling to run a dataflow after the sync runs to ensure that datasets include up-to-the-minute data. Use time-based scheduling to ensure that fresh data is available by a particular time, or to run the job during non-business hours.

1. From the App Launcher, find and select **Data Manager**.
2. In the left pane, click **Manage Dataflows**.
    
    The legacy Data Manager opens to the Monitor tab with the Jobs view selected.
3. Click the **Dataflows & Recipes** tab.
4. Click the triangle ![Actions button](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/actions_button.png) to the right of the dataflow you want to run, and select **Schedule**.
    
    ![Dataflows & Recipes tab with a datflow's menu open and the Schedule option highlighted](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_integrate_dataflow_actions_schedule.png)
    
    The scheduler appears.
5. To schedule the dataflow to run after its related data sync, recipe, or dataflow finishes, choose **Event-based** under Schedule Mode.
    
    1. Select the event-based scheduling mode that includes all sources of data that contribute to your dataflow. For example, if the dataflow pulls data from the Salesforce Accounts and Opportunities objects, and uses data generated by another dataflow, select **The Salesforce local connections sync and the selected recipes or dataflows runs**
    2. If you selected an event-based scheduling mode that waits on recipes or dataflows to run, select up to 5 from the list. Use this option to await fresh data or coordinate running another preceding recipe or dataflow first. Only runs that were successful or completed with warnings trigger this run. To increase the number of prerequisite recipes or dataflows you can choose, contact Salesforce Customer Support.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)
    
    Note Event-based schedules are triggered only by completed data sync of local objects in the dataflow’s sfdcDigest nodes through a scheduled run, manual run, or another successful dataflow run. Data syncs from remote connections, including Salesforce remote orgs, don’t trigger event-based schedules. When you use data from multiple local connections in a recipe or dataflow, event-based scheduling will run only after all local connections are synced. For example, if one local connection is scheduled to sync hourly and another syncs daily, an event-based scheduled recipe using data from both runs one time daily.
6. To run the dataflow at a specific time, select **Time-based** under Schedule Mode. Select the time to run the dataflow. You can schedule the dataflow to run by minute, hour, week, or month.
    
    CRM Analytics runs the dataflow according to the time zone of the user who set the schedule.
    
    ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_tip.png)
    
    Tip If you have a CRM Analytics Plus license, you can set the schedule to run every 5, 15, 20, or 30 minutes. This feature isn’t available in sandbox orgs.
7. If you schedule the dataflow to run by minute or hour, optionally select **Stop queuing at a specific time** to stop the schedule from adding more dataflow runs to the queue after a certain time. For example, to restrict runs to office hours, set a job to start at 8:00 AM, run every hour, and stop at 5:00 PM.
    
    ![Schedule dataflow by Hour](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_integrate_dataflow_scheduler_hour.png)
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)
    
    Note If you don’t select a time, the schedule stops adding dataflow runs to the queue at 11:59 PM.
8. Click **Save**.

Schedules for data sync, dataflow, and recipes are removed 30 days after the last save in Sandbox and Developer edition orgs, and 10 days after the last save in Trial orgs. Users subscribed to notifications receive an email when a schedule is removed. Set the schedule again at any time.

To cancel the scheduled dataflow, select **Unschedule** from the dataflow’s menu.

![Unschedule option highlighted on dataflow menu](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_integrate_dataflow_unschedule.png)

When you deactivate a user who scheduled a dataflow, the dataflow schedule is deleted and the dataflow is unscheduled.

#### See Also

- [Schedule, Run, and Monitor Data Sync](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_schedule_run_monitor_replication.htm&release=264.0.0&type=5 "In CRM Analytics, you can schedule sync to run automatically, manually run a sync, and monitor a sync's progress, all in the data manager.")
- [Monitor a Dataflow Job](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_dataflowjob_monitoring.htm&release=264.0.0&type=5 "In Data Manager, the Monitor's Dataflows tab shows status, start time, and duration of the last 10 dataflow jobs. It retains the last 7 days of job history. You can view error messages about each job, view the run-time details about every transformation that is processed, monitor the number of jobs remaining from your org’s 24-hour limit, and download error logs.")
- [CRM Anaytics Limits](https://help.salesforce.com/s/articleView?id=analytics.bi_limits.htm&type=5&language=en_US)