Attributes
{
  "id": "7eb8920e-db4e-4507-94d6-e62718a35a50",
  "created_at": "2024-11-21 06:28:00 UTC",
  "updated_at": "2024-11-21 06:46:23 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:28:00 UTC",
  "discarded_at": "2024-11-21 06:28:06 UTC",
  "finished_at": "2024-11-21 06:46:23 UTC",
  "jobs_finished_at": "2024-11-21 06:46:23 UTC",
  "properties": {
    "foo": "bar"
  }
}
Callback Jobs
Jobs
Queue
Priority
Attempts
{
  "job_id": "363f607b-7b7c-4ead-b72c-6261e8e7af45",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/7eb8920e-db4e-4507-94d6-e62718a35a50"
    },
    {
      "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:46:23.662543210Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "363f607b-7b7c-4ead-b72c-6261e8e7af45",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:46:23 UTC",
    "performed_at": "2024-11-21 06:46:23 UTC",
    "finished_at": "2024-11-21 06:46:23 UTC",
    "error": null,
    "created_at": "2024-11-21 06:46:23 UTC",
    "updated_at": "2024-11-21 06:46:23 UTC",
    "active_job_id": "363f607b-7b7c-4ead-b72c-6261e8e7af45",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "7eb8920e-db4e-4507-94d6-e62718a35a50",
    "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": "39968603-0aeb-49c3-b7aa-6d839ef5feae",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:34:33.711792893Z",
  "scheduled_at": "2024-11-21T06:46:23.610138739Z",
  "provider_job_id": "39968603-0aeb-49c3-b7aa-6d839ef5feae",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "39968603-0aeb-49c3-b7aa-6d839ef5feae",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:46:23 UTC",
    "performed_at": "2024-11-21 06:46:23 UTC",
    "finished_at": "2024-11-21 06:46:23 UTC",
    "error": null,
    "created_at": "2024-11-21 06:34:33 UTC",
    "updated_at": "2024-11-21 06:46:23 UTC",
    "active_job_id": "39968603-0aeb-49c3-b7aa-6d839ef5feae",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "7eb8920e-db4e-4507-94d6-e62718a35a50",
    "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": "643cb7c7-d2b4-4289-8662-8192e53f576e",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:28:03.621300538Z",
  "scheduled_at": "2024-11-21T06:28:06.879754578Z",
  "provider_job_id": "643cb7c7-d2b4-4289-8662-8192e53f576e",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "643cb7c7-d2b4-4289-8662-8192e53f576e",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:28:06 UTC",
    "performed_at": "2024-11-21 06:28:06 UTC",
    "finished_at": "2024-11-21 06:28:06 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:28:03 UTC",
    "updated_at": "2024-11-21 06:28:06 UTC",
    "active_job_id": "643cb7c7-d2b4-4289-8662-8192e53f576e",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "7eb8920e-db4e-4507-94d6-e62718a35a50",
    "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": "80806f0c-d404-4aa4-8db5-665d00fab319",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:28:00.176573855Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "80806f0c-d404-4aa4-8db5-665d00fab319",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:28:00 UTC",
    "performed_at": "2024-11-21 06:28:00 UTC",
    "finished_at": "2024-11-21 06:28:00 UTC",
    "error": null,
    "created_at": "2024-11-21 06:28:00 UTC",
    "updated_at": "2024-11-21 06:28:00 UTC",
    "active_job_id": "80806f0c-d404-4aa4-8db5-665d00fab319",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "7eb8920e-db4e-4507-94d6-e62718a35a50",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}