Károly Négyesi Details Temporal Integration for Drupal Background Jobs

Durable Event History, Retries, and Workers for Long-Running Processes

Long-running Drupal jobs can become difficult to recover when failures, retries, and work distributed across multiple processes enter the picture. In a blog post published by Tag1 Consulting on 8 July 2026, Károly Négyesi, edge case engineer, explains how the Temporal module handles processes that exceed the practical capabilities of Drupal’s core Batch and Queue APIs. The examples include third-party imports, search indexing, report generation, and operations across large sets of entities.

The integration separates workflow orchestration from the Drupal code that performs individual activities. Workflows define activity order, retries, and timeouts and must remain deterministic, while activities can use Drupal services and should generally be idempotent because failed calls may be retried. Temporal records activity inputs, outputs, and workflow events in durable event history, allowing an interrupted workflow to replay to its last recorded point without repeating completed activities. Heartbeats can report progress and identify activities that have stopped responding.

The module provides workflow and activity patterns, generic sequential and parallel workflows, and Drush commands for starting and interacting with processes. RoadRunner workers poll Temporal task queues, while the tag1consulting/ddev-temporalio add-on provides a Temporal server and web interface for local DDEV environments. Drupal.org lists stable release 2.1.6, released on 21 July 2026, for Drupal 11, but marks the project as minimally maintained and outside Drupal’s security advisory policy. Négyesi’s post uses drupal/temporal:^2.1 in its example setup and says a later instalment will cover the integration with Drupal’s Batch API.

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Related People

Upcoming Events

Latest Opportunities