Skip to main content

Full and incremental Sync, schedules, and manual runs

A Sync job runs in one of two modes. A full run lists everything the job's entity holds, so it can both apply changes and notice what is gone. An incremental run lists only what the connector reports as changed since the job's last marker, which makes it faster and lighter, and unable to notice that anything is gone. Either kind can run on a schedule, and you can start a full run by hand at any time.

UseWhen
A scheduled full runAlways, as the baseline. It is the only run that removes records the source no longer lists.
An incremental scheduleIn addition, when the connector supports it and you want changes to arrive between full runs.
A manual runAfter changing a job's configuration, after fixing a failure, or when you can't wait for the schedule.

An incremental schedule does not replace the full one. Without full runs, removed accounts and removed access stay in Owlie indefinitely. See Handling source changes.

Set the full schedule​

Open the job from Admin > Integrations > Sync. The Schedule tab opens first. Changing it needs the sync.modify permission.

  1. Under Full sync, turn on Enable a recurring full sync.
  2. Choose a Cadence: Every 6 hours, Daily, Weekly or Monthly.
  3. Select Save.

You choose how often the job runs, not when. Owlie picks the exact time within each period so that Sync load spreads evenly, and jobs on the same integration share that time. There is no time-of-day or time zone setting. Once saved, the tab shows the next run, in your browser's time zone, for example Daily · next run Mon, Mar 3, 4:20 AM EST.

With the schedule off, the job reads Manual only and runs only when someone starts it.

How a job starts out depends on how it was created:

  • A job you create with Create sync job asks for a cadence under Authoritative schedule. Daily is preselected, and the full schedule is on from the start.
  • Jobs created together from an integration's Sync tab with Create All Jobs start as Manual only. Run each once by hand, check the result, and then turn its schedule on.

Add an incremental schedule​

The Schedule tab shows Incremental updates only for a job whose connector supports incremental Sync for that entity. Otherwise the Incremental row under Operating context reads Not supported by this connector., and the job list shows Full only in its Incremental column.

Of the built-in connectors, these support incremental runs:

ConnectorEntities
Active DirectoryUsers
LinearUsers, teams and projects
Microsoft OneDriveDrive items
SalesforceUsers

Custom LDAP, SCIM and SQL connectors support it when their definition configures incremental reads.

To schedule incremental runs, turn on Enable recurring incremental updates and choose a Cadence. Incremental schedules offer the same cadences as full schedules plus Hourly, which needs a plan that includes hourly Sync. Without it the option reads Hourly (unavailable). If your plan stops including hourly Sync later, a saved hourly schedule is kept and runs every 6 hours until hourly Sync is available again, then returns to hourly by itself. Full runs never run hourly.

The incremental marker​

The connector owns the marker: a small JSON value, such as a cursor or a change number, that says where the next incremental run starts. Owlie stores it on the job and moves it like this:

  • A full run that completes with no failed records replaces the marker with the one the connector returned.
  • An incremental run that completes with no failed records moves the marker forward when the connector returns a new one.
  • A run with failed records leaves the marker where it was, so the next incremental run reads those records again.
  • A run that reached its Run limit leaves the marker where it was.

Under Incremental marker, Marker JSON shows the stored value. You rarely need to touch it. Edit it only to resume from a checkpoint you know, and select Clear marker to make the next incremental run start without one. The value must be a JSON object. A change takes effect when you select Save. Each run's Diagnostics section shows the marker it started and ended with.

Start a run by hand​

Starting a run needs the sync.modify permission.

  • On a job, select Run sync in the header.
  • In the job list, select Run full sync on the job's row.

Both start a full run with the job's saved configuration and open the run's page. Save your changes first: unsaved edits are not used. To try unsaved changes on a few records, use the job's Test tab.

A job runs one run at a time. Owlie refuses a manual run while another run of the same job is queued or running. A scheduled run that comes due during another run waits, and the Runs tab shows it as Not started. Your organization also has a limit on how many Sync runs execute at once, so a run can sit in QUEUED for a while when several jobs are due together.

The dashboard always starts full runs. To start an incremental run on demand, call the triggerSyncRun mutation with runMode: INCREMENTAL through the GraphQL API.

A flat-file integration works differently: each uploaded file starts a run for its feed automatically.

Run relationship jobs after the others​

A relationship job reads memberships for accounts and objects that the integration's other jobs have already brought in. When you run jobs by hand for the first time, run the account and entity jobs first and the relationship job last. A scheduled relationship run stays blocked until every job it depends on has completed at least one run.

Cancel a run​

On the job's Runs tab, select Cancel beside a run that is QUEUED or RUNNING, or open the run and select Cancel run.

  • Canceling a queued run removes it before it starts. No records have been processed.
  • Canceling a running run stops it. Records it already processed stay applied and stay visible in the run's history. The run does not clean up missing records.

Run again after a failure​

After fixing the cause of a failed run, open its detail page and select Retry run. The new run links back to the failed run. On a sync job, choose Run full sync to read everything, or Run incremental sync to read changes from the saved marker. You can also wait for the next scheduled run.

The GraphQL API also has a retrySyncRun mutation. It starts a new run that is linked to the failed or canceled one, and the run list shows it with the trigger Manual retry. It only accepts a run that has already failed or been canceled.

Owlie retries by itself inside a run when a connector reports a temporary failure, such as a timeout or a rate limit. See Run history and Sync failures.

Page size and run limit​

Account and entity jobs have a Fetch tab. Under Fetch shape:

  • Page size is how many records Owlie asks the connector for per page. Leave it empty to use the connector's default. It changes how many requests a run makes, not what the run reads, so it never makes a run partial. When a system times out on large pages, lower it. To make fewer requests, raise it.
  • Run limit stops the run after that many records. Leave it empty to read everything. A run that reaches its limit is partial: the run shows Limit reached, cleanup is skipped, and the incremental marker does not move. A limit that the run never reaches has no effect.

A run limit is for trying a job on a slice of a large source. Remove it before you rely on the job, because a job with a limit lower than the size of its source never removes anything.

The same tab holds Native filter, Fields and Authoritative cleanup. A filter also makes cleanup skip, and the tab warns you when either a filter or a limit is set. See the Sync configuration reference.