Skip to main content

Understanding synchronization

DigiTrade exchanges data with your ERP on a schedule you define.

N
Written by Niyaz

Synchronization model

DigiTrade exchanges data with your ERP on a schedule you define. The Sync section of the Admin Panel is where that schedule lives. Synchronization works across three levels, each nested inside the previous one.

Sync groups

A sync group defines how often a set of sync jobs should run and at what time of day. Each group has a name, an interval type, an interval value, a Start from time, and an enabled toggle. The Interval type options are hourly and minute.

Sync tasks

A sync task lives inside a sync group and defines one specific job through its name and the ERP endpoint that job calls. A sync task runs on the schedule of its parent group rather than on its own schedule. One group can hold many tasks, so you can group related jobs under a single schedule. You can trigger any sync task immediately with the Execute button on its row instead of waiting for the next scheduled run.

How the schedule model works

Because tasks inherit their schedule from the group, changing the group's interval or start time affects all tasks in that group at once. This lets you move a batch of related syncs to a different frequency without editing each task individually. A group with Interval type set to hourly and Interval value set to 1 runs its tasks every hour. The same group with an Interval value of 24 runs once per day. Switching to Interval type minute with an Interval value of 15 runs tasks every 15 minutes.

Review execution records

Logs record what happened when each sync task ran. Every execution produces an entry that you can review to confirm success or investigate a failure. The Logs screen has two tabs.

  • The Sync tab shows execution records for sync tasks.

  • The Errors tab shows error-level log entries.

When no sync task logs exist, the Sync tab displays the message “No Sync task logs yet.”. Log retention is controlled by the Clear task logs after in days setting on the Logging tab in Shop configurations.

Related

Did this answer your question?