updateJobStatus

Update job status with offline-first support.

This method immediately applies the status change locally and queues it for background synchronization. The status update is persisted locally first, ensuring immediate UI responsiveness even when offline.

Offline-First Behavior:

  • Immediate Local Update: Status change is applied to local storage instantly

  • Background Sync: Automatically syncs to server when network is available

  • Conflict Resolution: Server state takes precedence during sync

  • Status History: Creates a new status history entry with offline tracking

Return

UpdateJobStatusResult containing the updated status history or error information

Parameters

content

ZyncJobStatusUpdateContent containing the job UID, status UID, and optional fields

Samples