Knowledge Base

Job Lifecycle and States

Job Lifecycle and States

Understanding how jobs progress through states helps you monitor operations effectively in the Narrative Data Collaboration Platform.


Job States

Jobs progress through well-defined states:

StateDescription
pendingJob is queued, waiting for resources
runningJob is actively executing
completedJob finished successfully
pending_cancellationJob is being cancelled
cancelledJob was cancelled
failedJob encountered an error

State Transitions

Normal Execution Flow

pending → running → completed

Cancellation Flow

pending → cancelled
running → pending_cancellation → cancelled

Error Flow

pending → running → failed

Final States

These states indicate a job has finished:

  • completed: Job finished successfully, results are available
  • failed: Job encountered an error, check error details
  • cancelled: Job was cancelled, no results produced

Monitoring State Changes

You can monitor job state changes through:

  • Webhook notifications: Real-time updates when states change
  • API polling: Check job status programmatically
  • Platform UI: View current job states in the dashboard

Job Types Reference

Learn about the different types of jobs available.

< Back
Rosetta

Hi! I’m Rosetta, your big data assistant. Ask me anything! If you want to talk to one of our wonderful human team members, let me know! I can schedule a call for you.