{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21382,"path":"integrate-applications/integration-hub/run-schedule-data-imports.md","title":"Run or schedule a data import","bundle":null,"doc_type":null,"release":"australia","body":"\n# Run or schedule a data import\n\nSpecify when to run a data import by creating a schedule. Schedule an import to run at a specific time, at regular intervals, or after a parent import. You can also run your import immediately.\n\n## Before you begin\n\n[Configure a data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/configure-data-source.md), then [Map source data to a target table](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/map-source-data-target.md).\n\nRole required: admin or ih\\_import.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **IntegrationHub** &gt; **IntegrationHub - Import**.\n\n2.  On the landing page, select your integration.\n\n3.  On the left navigation panel, click **Schedule imports**.\n\n4.  On the Run and schedule imports page, click **Schedule an import**.\n\n5.  On the New schedule form, fill in the fields.\n\n<table id=\"table_sjb_jk2_lpb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr class=\"sub-head\"><td class=\"sub-head\" colspan=\"2\">\n\nScheduled Data Import\n\n</td></tr><tr><td>\n\nName\n\n</td><td>\n\nName to uniquely identify the import schedule.\n\n</td></tr><tr><td>\n\nData source\n\n</td><td>\n\nData source for the import. This field is automatically set to the name of your integration.\n\n</td></tr><tr><td>\n\nRun as\n\n</td><td>\n\nName of the user or user role the import executes with. For example, the import may run as the System Administrator, or it may run with the roles of a specified user.\n\n</td></tr><tr><td>\n\nApplication\n\n</td><td>\n\nApplication scope for the import schedule.\n\n</td></tr><tr><td>\n\nRun\n\n</td><td>\n\nOption to specify when the import runs. Select one of the following.-   **Daily**: Runs every day.\n-   **Weekly**: Runs every week.\n-   **Monthly**: Runs every month.\n-   **Periodically**: Runs at regular intervals.\n-   **After Parent Runs**: Runs after another import.\n\n\n</td></tr><tr><td>\n\nDay\n\n</td><td>\n\nDay of the week or month to run the import. Entered as a number. This field appears only when **Weekly** or **Monthly** is selected from **Run**.\n\n</td></tr><tr><td>\n\nRepeat interval\n\n</td><td>\n\nAmount of time to wait between imports. Entered in days, hours, minutes, and seconds. This field appears only when **Periodically** is selected from **Run**.\n\n</td></tr><tr><td>\n\nParent\n\n</td><td>\n\nName of the parent import. The parent import must finish before the current import begins. This field appears only when **After Parent Runs** is selected from **Run**.\n\n</td></tr><tr><td>\n\nTime\n\n</td><td>\n\nTime of day to run the import. Entered in hours, minutes, and seconds.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nOption to make the import schedule active.\n\n</td></tr><tr class=\"sub-head\"><td class=\"sub-head\" colspan=\"2\">\n\nAdvanced\n\n</td></tr><tr><td>\n\nConcurrent import\n\n</td><td>\n\nOption to divide the data into multiple import sets and process them concurrently.\n\n</td></tr><tr><td>\n\nPartition Method\n\n</td><td>\n\nOption to specify how to partition the data. Select one of the following.-   **Custom size**\n-   **Round Robin**\nThis field appears only when **Concurrent import** is selected.\n\n</td></tr><tr><td>\n\nPartition Size\n\n</td><td>\n\nNumber of records for the partition size. Must be greater than or equal to 1000. This field appears only when **Custom size** is selected from **Partition Method**.\n\n</td></tr></tbody>\n</table>6.  Click **Save**.\n\n7.  To add a prescript or postscript, click the more options icon \\(\\[Omitted image \"more-options-icon.png\"\\] Alt text: More options icon\\) and select **Advanced setup**.\n\n    This option opens the form for the scheduled data import, where you can add a script to run before or after your import.\n\n8.  Run your scheduled import right away by clicking the **Run Import** button, and refresh the Executions list to view the execution record.\n\n\n## What to do next\n\nYour import will run at the scheduled time. After it runs, an Executions section appears on the Run and schedule imports page. The Execution section has execution records where you can view details about your import, including its runtime, the number of imported rows, and any errors or log messages.\n\n**Parent Topic:**[Integration Hub - Import](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/integrationhub-imports.md)\n\n"}}