A scheduled import is a Scheduled Data Import record that connects a data source to a timing rule. Each run leaves execution records, import sets, transform histories and an import log. This guide covers the form fields that control timing, how concurrent runs split the data, and where to look when a run stalls or finishes with row errors.
Roles and the data source behind a schedule
Creating a schedule takes the import_scheduler, import_admin or admin role. Treat import_scheduler with care, since it can run scripts with administrator-level privileges. Watching runs needs import_admin for the Concurrent Import Set Jobs list and execution contexts, and the admin role for the import run history.
Each schedule points at a data source, and that data source is tied to a transform map. Open the data source record and review its Transforms tab to confirm the link. The transform map controls field placement, and the schedule controls timing and splitting.
Filling in the Scheduled Data Import form
Open All > System Import Sets > Administration > Scheduled Imports and choose New. Some fields appear after a related option is set.
| Group | Fields | What to set |
|---|---|---|
| Source and state | Name, Data source, Active | Pick a recognisable name. A remote data source is refreshed over its connection before the import starts. Clear Active to pause the schedule. |
| Identity | Run as | The job uses this user’s credentials. If blank, the job runs as the guest user. |
| Timing | Run, Day, Time, Repeat interval, Starting | Day appears for Weekly and Monthly. Repeat interval and Starting appear for Periodically. |
| Chaining and conditions | Parent, Conditional, Condition | Parent appears for After Parent Runs. Condition holds a script that must evaluate to true before the run starts. |
Starting several imports at the same moment can degrade performance and, in the worst case, cause an outage, so give each schedule its own start time. By default, a schedule runs in the time zone of the user who created it. To change that, add the Run As tz field to the form, select the zone and click Update.
For data sources that use a connection alias, the Use connection and Connection fields let you pick the parent alias or one of its children. A custom data source or transform script can read the chosen alias through connection_credential_alias_override in the Glide session.
Pre and post scripts
Each script is switched on with its own checkbox. The pre script can stop a run before any data moves: setting the object cancel to true cancels the import. It can also read import_set, a GlideRecord for the new set, with the columns number, sys_id, state and table_name from sys_import_set. Both scripts can reach data_source, the schedule’s data source record. Changing a value on it and calling update() changes the data source record itself, so keep such edits narrow. On a concurrent import, the post script runs after the last Import Set Transformer job completes.
How concurrent imports split the work
Concurrent imports suit a specific case: order does not matter, and the load is slow because the data set is large and the transform scripts take time. They add processing and monitoring overhead, so enable them after database indexes and transformations are tuned. For the large-volume case in more depth, see importing large data sets.
A concurrent run pulls data from a database, Excel file, CSV file or other source into a temporary staging table, then moves rows from staging into the target table. In between, the system creates several import sets so transform jobs can run side by side. The count is capped by the glide.scheduled_import.max.concurrent.import_sets property, which defaults to 10 and scales with the cluster: a two-node cluster produces four import sets, and a ten-node cluster produces ten. Each active node runs two Import Set Transformer jobs a minute, which poll the Concurrent Import Sets Jobs queue. Jobs run in parallel as worker threads allow.
Choosing a partition method
| Method | How records are assigned | Typical fit |
|---|---|---|
| Round Robin | The system cycles records across the sets. With 20 records and 4 sets, set 1 receives records 1, 5, 9, 13 and 17. | Row order does not matter and an even spread is wanted. |
| Custom Script | A partition script returns a key, and rows with the same key share a set. | Related rows that must be processed in sequence. |
| Custom size | A Partition Size sets records per partition. | Early output, since the first partition can transform while the rest load. |
A concurrent import does not transform data in a predictable order across the run. Rows that share a partition key are processed sequentially inside their set, so partitioning keeps order within a partition, not across the whole file.
Chained imports and duplicates
Set Run to After Parent Runs and point Parent at the import that must finish first. A parent can have many children, which run in the order you specify. On a concurrent run, a child starts once all Import Set Transformer jobs for the parent have completed. The run order is stored as a tree in sys_execution_plan.
Because sets can write to the same table at once, coalesce fields decide duplicates. The transform updates an existing record with matching coalesce values, or inserts a new one. An inserting set places a write lock on the target table, so another set cannot insert the same record at that moment. For the coalesce settings themselves, see the coalescing explainer, and for map design, see transform maps that avoid duplicate records.
If you would rather hand the schedule setup to a team, see ServiceNow migration services.
Monitoring a run from start to finish
Open All > System Import Sets > Concurrent Import Set Jobs and select the scheduled import. Each concurrent run creates a Concurrent Import Set record that shows its import sets, jobs and transform histories. Two layers of state apply, and they use different words for the finished state. For the import set object itself, see the import set explainer.
| Object | States | Meaning |
|---|---|---|
| Import set | Pending, Running, Processed, Error | Processed means finished. Error means failed. |
| Concurrent import set job | Pending, Running, Completed, Error | Completed means the job finished. Error means it did not finish successfully. |
Each job has a Type: Regular for the first run, Reprocessing for a rerun, Resuming for a run picking up after an error. Check the Type to tell an original load from a later attempt. Selecting a parent job shows the Type and State of each child job, which shows where a chain stopped.
The Transform Histories link shows statistics for the scheduled import. Pick a start time to open the Import Set Row Errors, which carry error codes and messages, and the Import Log for that run. The statistics give totals; the errors explain each rejected row.
For run order, open All > System Import Sets > Administration > Execution Contexts. Each row lists the parent scheduled import, its execution records and its import set records, plus the date the import executed.
The import log, at All > System Import Sets > Advanced > Import Log, records each step from the import set table to the target table. Entries written with log.info, log.warn and log.error in transform scripts appear beside the system entries.
Import run history and error codes
The import run history gives a status for each import operation and requires the admin role. Its Run Import utility runs an import operation using an existing transform map and import set table.
Transform errors carry numeric codes. Not all errors produce one. When a code exists, it is stored in the error code field of sys_import_set_row_error.
| Code | Meaning |
|---|---|
| 100 | A reference field value was rejected |
| 200 | A choice field value was rejected |
| 300 | A list reference field was rejected |
| 800 | The target record or field is invalid |
| 900 | The transform script raised an error |
Stopping, reprocessing and resuming a run
To stop an import that is running too long, go to System Import Sets > Advanced > Progress, open the Progress Worker and use its Cancel job related link.
On the Concurrent Import Set Jobs view, Continue restarts a scheduled import that is not complete, and Reprocess starts another scheduled import that runs the records again. Use Continue for an interrupted run and Reprocess when the records need a fresh pass.
Cleaning up import sets on a schedule
The Import Set Deleter is the scheduled cleanup job, found at All > System Import Sets > Import Set Tables > Scheduled Cleanup. The role is admin. Its default script deletes import sets and their related rows created more than seven days earlier. Execute Now runs it immediately.
For a one-time clean-up of chosen tables, use All > System Import Sets > Import Set Tables > Cleanup. You can include related transform maps, or delete the data while keeping the table structure. Deleting a table removes all of its records and the table itself, so check the selection before you click Cleanup.
After go-live, how can a team confirm that a scheduled import or integration reached its destination, and what logging must be switched on to show it?
Confirm delivery by reconciling three counts for each run: rows sent, rows that reached the target table, and rows rejected with an error code. A Processed or Completed status proves the run finished, not that the right records landed. Switch on the logging you need before go-live, because, as of November 2026, normal-operation flow execution detail is not generated by default.
Checks to run in the first 30 days
Watch for transactions that never reach their destination during the first 30 days. A schedule can finish without an error while a mapping quietly drops values, so review these through the first 30 days.
- Runs that started late or off schedule, compared with the Starting and Repeat interval values.
- Parent jobs with children still Pending or Running, checked against the Parent setting on each schedule.
- Any run whose Type is not Regular, reviewed next to the source counts.
Reconciling source and target records
Each source row either landed, was rejected with a code, or was skipped for a stated reason. Any remainder is a silent loss and should be chased first.
- Record the source row count and a key list when the extract is produced.
- Open Transform Histories for the run and note each total the statistics show.
- Check that the source count equals those totals plus rejected rows, and explain any gap before closing.
- Compare two or three business fields on a sample of target records, matched by coalesce value.
Keep this evidence outside the platform. Copy the counts and error rows to a table you own or a file outside the instance first, so they outlast any scheduled cleanup.
Logging to switch on before go-live
Flow execution detail needs configuring, and a log can only show what was recorded. Enable these before the first production run.
- Flow execution detail, which needs appropriate reporting configuration. As of November 2026, normal-operation detail is not generated by default, and more detail adds performance cost.
- A test run with one deliberately bad row, to confirm the error code reaches the row errors and the Import Log.
What a confirmed delivery looks like
A confirmed run has reconciled counts, every rejected row has a code and an owner, and a sample of target records matches the source. A completed flow or accepted API request still needs a business check, such as the right user provisioned.
Track each critical integration separately. A single success rate across all imports can look healthy while one feed that matters has stopped.
Frequently asked questions
Who can set up a scheduled import?
The import_scheduler, import_admin or admin role can create one. Because import_scheduler can run scripts with administrator-level privileges, grant it with the same care you would give admin.
Why did my scheduled import run as the guest user?
The Run as field was blank. Name the user whose credentials the job should use, and later executions will use that user’s permissions.
Can a concurrent import keep rows in their original order?
Not across the whole run. A custom partition script keeps related rows in sequence inside their own partition.
Where should I look first when a scheduled import fails?
Start with the Concurrent Import Set Jobs view and check the parent job and its children. Then open the Transform Histories for row errors and codes, the Import Log for step-by-step detail, and the execution contexts for run order.
For the wider sequence of steps, the data migration and import sets hub lists each stage. For repeated failures, the troubleshooting guide for data migration and import sets is the next read.