Attributes
{
  "id": "87b938c7-8606-4d86-8344-96f63947ada4",
  "created_at": "2024-11-21 10:22:00 UTC",
  "updated_at": "2024-11-21 10:39:51 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 10:22:00 UTC",
  "discarded_at": "2024-11-21 10:22:06 UTC",
  "finished_at": "2024-11-21 10:39:51 UTC",
  "jobs_finished_at": "2024-11-21 10:39:50 UTC",
  "properties": {
    "foo": "bar"
  }
}
Callback Jobs
Jobs
Queue
Priority
Attempts
{
  "job_id": "f46b417e-5acc-4fe0-bd5c-8818802b2a5d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/87b938c7-8606-4d86-8344-96f63947ada4"
    },
    {
      "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-21T10:39:50.911086727Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "f46b417e-5acc-4fe0-bd5c-8818802b2a5d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:39:50 UTC",
    "performed_at": "2024-11-21 10:39:50 UTC",
    "finished_at": "2024-11-21 10:39:51 UTC",
    "error": null,
    "created_at": "2024-11-21 10:39:50 UTC",
    "updated_at": "2024-11-21 10:39:51 UTC",
    "active_job_id": "f46b417e-5acc-4fe0-bd5c-8818802b2a5d",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "87b938c7-8606-4d86-8344-96f63947ada4",
    "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
6
Succeeded
{
  "job_id": "2259ace8-b1f7-44f6-ba74-dd39fd97f22d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:28:20.817484392Z",
  "scheduled_at": "2024-11-21T10:39:50.800773296Z",
  "provider_job_id": "2259ace8-b1f7-44f6-ba74-dd39fd97f22d",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "2259ace8-b1f7-44f6-ba74-dd39fd97f22d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:39:50 UTC",
    "performed_at": "2024-11-21 10:39:50 UTC",
    "finished_at": "2024-11-21 10:39:50 UTC",
    "error": null,
    "created_at": "2024-11-21 10:28:20 UTC",
    "updated_at": "2024-11-21 10:39:50 UTC",
    "active_job_id": "2259ace8-b1f7-44f6-ba74-dd39fd97f22d",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "87b938c7-8606-4d86-8344-96f63947ada4",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Queue
default
Priority
0
Attempts
3
Discarded
{
  "job_id": "a7467577-62b9-4f68-b02e-3b80953ea58a",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:22:03.232015175Z",
  "scheduled_at": "2024-11-21T10:22:06.435714228Z",
  "provider_job_id": "a7467577-62b9-4f68-b02e-3b80953ea58a",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "a7467577-62b9-4f68-b02e-3b80953ea58a",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:22:06 UTC",
    "performed_at": "2024-11-21 10:22:06 UTC",
    "finished_at": "2024-11-21 10:22:06 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 10:22:03 UTC",
    "updated_at": "2024-11-21 10:22:06 UTC",
    "active_job_id": "a7467577-62b9-4f68-b02e-3b80953ea58a",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "87b938c7-8606-4d86-8344-96f63947ada4",
    "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
1
Succeeded
{
  "job_id": "8cc8287c-1ce8-4a61-90f2-35c7c4c5eea3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:22:00.131816995Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "8cc8287c-1ce8-4a61-90f2-35c7c4c5eea3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:22:00 UTC",
    "performed_at": "2024-11-21 10:22:00 UTC",
    "finished_at": "2024-11-21 10:22:00 UTC",
    "error": null,
    "created_at": "2024-11-21 10:22:00 UTC",
    "updated_at": "2024-11-21 10:22:00 UTC",
    "active_job_id": "8cc8287c-1ce8-4a61-90f2-35c7c4c5eea3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "87b938c7-8606-4d86-8344-96f63947ada4",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}