queue_job_batch
This module allows grouping queue jobs into batches to better track and monitor their execution status and results.
Key Features
- queue.job.batch: Enables creation and management of job batches with states like pending, enqueued, in progress, and finished.
- queue.job.batch: Tracks job counts, completeness percentage, and failure rates for each batch.
- queue.job.batch: Provides methods to automatically update batch state based on individual job statuses.
- queue.job: Associates individual queue jobs with a batch when created in the job_batch context.
- queue.job: Triggers batch state checks when jobs complete to update overall batch progress.
- UI: Offers tree and form views for browsing and inspecting job batches with progress indicators.
- UI: Includes search filters and grouping options for batches by state, user, and other criteria.
- systray: Displays a notification icon in the systray showing the number of unread job batches.
- systray: Shows a dropdown with batch names, status icons, and progress bars for planned, finished, and failed jobs.
- systray: Allows opening batch details and marking finished batches as read directly from the systray.
- security: Defines user groups for accessing job batches with appropriate read/write permissions.
- security: Implements record rules to restrict batch access to the owning user or managers.
- channels: Provides a dedicated job channel for processing batch state update jobs.
- functions: Registers the check_state method as a queueable function for asynchronous batch updates.