Attributes
{
  "id": "eb0be8c2-3e56-488d-ac5e-f188399df5f2",
  "created_at": "2024-11-21 08:41:00 UTC",
  "updated_at": "2024-11-21 08:59:19 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 08:41:00 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 08:59:19 UTC",
  "jobs_finished_at": "2024-11-21 08:59:19 UTC",
  "properties": {
    "foo": "bar"
  }
}
Callback Jobs
Jobs
Queue
Priority
Attempts
{
  "job_id": "4d4d5b82-e7a8-4eea-898d-54e3d17b8ed3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/eb0be8c2-3e56-488d-ac5e-f188399df5f2"
    },
    {
      "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-21T08:59:19.763773907Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "4d4d5b82-e7a8-4eea-898d-54e3d17b8ed3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:59:19 UTC",
    "performed_at": "2024-11-21 08:59:19 UTC",
    "finished_at": "2024-11-21 08:59:19 UTC",
    "error": null,
    "created_at": "2024-11-21 08:59:19 UTC",
    "updated_at": "2024-11-21 08:59:19 UTC",
    "active_job_id": "4d4d5b82-e7a8-4eea-898d-54e3d17b8ed3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "eb0be8c2-3e56-488d-ac5e-f188399df5f2",
    "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": "afd8f664-f094-4ef4-a362-e4b2b7e51e01",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:47:28.188103686Z",
  "scheduled_at": "2024-11-21T08:59:19.730418769Z",
  "provider_job_id": "afd8f664-f094-4ef4-a362-e4b2b7e51e01",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "afd8f664-f094-4ef4-a362-e4b2b7e51e01",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:59:19 UTC",
    "performed_at": "2024-11-21 08:59:19 UTC",
    "finished_at": "2024-11-21 08:59:19 UTC",
    "error": null,
    "created_at": "2024-11-21 08:47:28 UTC",
    "updated_at": "2024-11-21 08:59:19 UTC",
    "active_job_id": "afd8f664-f094-4ef4-a362-e4b2b7e51e01",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "eb0be8c2-3e56-488d-ac5e-f188399df5f2",
    "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
6
Succeeded
{
  "job_id": "13f09d2a-7d89-4f9c-a9d9-c5dc139f797f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:47:44.918257335Z",
  "scheduled_at": "2024-11-21T08:58:24.113601051Z",
  "provider_job_id": "13f09d2a-7d89-4f9c-a9d9-c5dc139f797f",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "13f09d2a-7d89-4f9c-a9d9-c5dc139f797f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:58:24 UTC",
    "performed_at": "2024-11-21 08:58:25 UTC",
    "finished_at": "2024-11-21 08:58:25 UTC",
    "error": null,
    "created_at": "2024-11-21 08:47:44 UTC",
    "updated_at": "2024-11-21 08:58:25 UTC",
    "active_job_id": "13f09d2a-7d89-4f9c-a9d9-c5dc139f797f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "eb0be8c2-3e56-488d-ac5e-f188399df5f2",
    "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
1
Succeeded
{
  "job_id": "737436b6-86ed-451b-b6b9-d23a7f5d1bbc",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:41:00.392645517Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "737436b6-86ed-451b-b6b9-d23a7f5d1bbc",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:41:00 UTC",
    "performed_at": "2024-11-21 08:41:00 UTC",
    "finished_at": "2024-11-21 08:41:05 UTC",
    "error": null,
    "created_at": "2024-11-21 08:41:00 UTC",
    "updated_at": "2024-11-21 08:41:05 UTC",
    "active_job_id": "737436b6-86ed-451b-b6b9-d23a7f5d1bbc",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "eb0be8c2-3e56-488d-ac5e-f188399df5f2",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}