Attributes
{
  "id": "682852bc-838c-412b-b3d0-171b45ddacd7",
  "created_at": "2024-11-21 06:29:30 UTC",
  "updated_at": "2024-11-21 06:29:36 UTC",
  "description": "Example batch",
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2024-11-21 06:29:30 UTC",
  "discarded_at": "2024-11-21 06:29:36 UTC",
  "finished_at": "2024-11-21 06:29:36 UTC",
  "jobs_finished_at": "2024-11-21 06:29:36 UTC",
  "properties": {
    "foo": "bar"
  }
}
Callback Jobs
Jobs
Queue
Priority
Attempts
{
  "job_id": "1d32b473-12f8-490e-8f3d-db5e2f713d82",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/682852bc-838c-412b-b3d0-171b45ddacd7"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:29:36.424463628Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "1d32b473-12f8-490e-8f3d-db5e2f713d82",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:29:36 UTC",
    "performed_at": "2024-11-21 06:29:36 UTC",
    "finished_at": "2024-11-21 06:29:36 UTC",
    "error": null,
    "created_at": "2024-11-21 06:29:36 UTC",
    "updated_at": "2024-11-21 06:29:36 UTC",
    "active_job_id": "1d32b473-12f8-490e-8f3d-db5e2f713d82",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "682852bc-838c-412b-b3d0-171b45ddacd7",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Batched Jobs
Jobs
Queue
Priority
Attempts
Queue
default
Priority
0
Attempts
3
Discarded
{
  "job_id": "02327de7-45c2-461b-96b2-10f1fadff470",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:29:33.346502577Z",
  "scheduled_at": "2024-11-21T06:29:36.398618622Z",
  "provider_job_id": "02327de7-45c2-461b-96b2-10f1fadff470",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "02327de7-45c2-461b-96b2-10f1fadff470",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:29:36 UTC",
    "performed_at": "2024-11-21 06:29:36 UTC",
    "finished_at": "2024-11-21 06:29:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:29:33 UTC",
    "updated_at": "2024-11-21 06:29:36 UTC",
    "active_job_id": "02327de7-45c2-461b-96b2-10f1fadff470",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "682852bc-838c-412b-b3d0-171b45ddacd7",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Queue
default
Priority
0
Attempts
2
Succeeded
{
  "job_id": "6e04935b-8393-439f-b77f-a9ff3bc72a27",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:29:30.086803164Z",
  "scheduled_at": "2024-11-21T06:29:33.163782092Z",
  "provider_job_id": "6e04935b-8393-439f-b77f-a9ff3bc72a27",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "6e04935b-8393-439f-b77f-a9ff3bc72a27",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:29:33 UTC",
    "performed_at": "2024-11-21 06:29:33 UTC",
    "finished_at": "2024-11-21 06:29:33 UTC",
    "error": null,
    "created_at": "2024-11-21 06:29:30 UTC",
    "updated_at": "2024-11-21 06:29:33 UTC",
    "active_job_id": "6e04935b-8393-439f-b77f-a9ff3bc72a27",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "682852bc-838c-412b-b3d0-171b45ddacd7",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Queue
default
Priority
0
Attempts
1
Succeeded
{
  "job_id": "d498ed3b-7250-4752-a953-7fa36461448d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:29:30.061434193Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "d498ed3b-7250-4752-a953-7fa36461448d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:29:30 UTC",
    "performed_at": "2024-11-21 06:29:30 UTC",
    "finished_at": "2024-11-21 06:29:30 UTC",
    "error": null,
    "created_at": "2024-11-21 06:29:30 UTC",
    "updated_at": "2024-11-21 06:29:30 UTC",
    "active_job_id": "d498ed3b-7250-4752-a953-7fa36461448d",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "682852bc-838c-412b-b3d0-171b45ddacd7",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}