> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WorkerSyncRunStatus

> What a sync is doing now and how its last run went.



**Kind**: `object`

## Fields

**`state`**: `SyncLifecycleState!`

Where the sync is in its life.

---

**`lastResult`**: `SyncResult`

How the last run ended. Absent when it has not run since the worker started.

---

**`isLocked`**: `Boolean!`

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.

---

**`message`**: `String`

The last message the sync reported, for example what it does or when it runs next.

---

**`statusChangedAt`**: `DateTime`

When the status last changed. Not the start or end of a run.

---

**`expectedNextRunAt`**: `DateTime`

When the next run is expected: the status time plus the interval. Not a guarantee, runs can wait in a queue.

---

**`progressPercent`**: `Float`

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.

---

**`pendingActionId`**: `String`

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.

