WorkerSyncRunStatus
What a sync is doing now and how its last run went.
WorkerSyncRunStatusFields
Where the sync is in its life.
How the last run ended. Absent when it has not run since the worker started.
Whether the sync cannot run because its account is locked or inactive, for example a locked shop. Unlocking the account and starting the sync is the only way out.
The last message the sync reported, for example what it does or when it runs next.
When the status last changed. Not the start or end of a run.
When the next run is expected: the status time plus the interval. Not a guarantee, runs can wait in a queue.
Progress of the run that is running, from 0 to 100. Absent when it is not known: the value exists only in the memory of the worker and the sync reports it only while it runs. The V2 route workers/status keeps its constant -1.
The key of the action that was requested and is not yet carried out: Start, Stop, Restart, RunOnce or ResetError. The list of actions can grow, so it is a key and not an enum.
Was this page helpful?