On this page
Display job progress
Follow a running job and reconnect after leaving the page.
Before you begin: Run a background job.
Display progress and reconnect
Use an FQL state binding for a live progress display:
Without .live, the binding reads a snapshot once. With .live, changes arrive automatically without polling. Reopening the page with the same job ID reconnects to that job.
Each progress group has the same counter structure:
accounts comes from the loop's key. These counters describe items, not retryable blocks. An item with two failed blocks counts as one failed item. Retrying it does not increase total. A group's counters appear when execution reaches its loop.
A job is queued, running, completed, failed, cancelling, or cancelled. completed means the job reached the end of its body; check the progress counters and failed actions to see whether every operation succeeded. failed means an error stopped the job body itself. Cancellation stops new items and skips subsequent statements once the stop reaches an executor. An active retryable block finishes and commits before stopping; later blocks do not start. Requests already sent can still complete. The job remains cancelling until its active work has settled. Failure details can continue synchronizing after execution stops; if you request a retry during that short period, wait for the results to finish syncing and try again.
JavaScript is available when you need custom feedback handling:
Reference excerpt: use this with the page, variables and functions described in this guide. Try a complete example →
Frontbacked.jobs.get(id) reads the current snapshot. events(id, after) and failures(id, cursor) return {items, nextCursor, hasNextPage} for additional history. Feedback events have increasing sequence numbers; the latest 10,000 are retained. Job history is retained for 14 days after execution stops. Save any longer-lived audit records as posts.
Continue with Pause a job at a rate limit.