Delegate Queue Unit

Delegate Queue Unit


Overview

A Delegate Queue Unit in a flow diagram manages asynchronous processing by placing transactional messages into a queue for later handling. This unit helps to process where messages need to be processed in sequence or by different systems.

What it does:
  1. Adds items to a queue for background or deferred processing.
  2. Allows decoupling between the main flow and downstream tasks.
  3. Supports load balancing and parallel processing.
How it works:
  1. Input: The main flow generates a message or data packet (e.g., document ID, payload).
  2. Queue Operation:
    1. Pushes the item into a queue (e.g., message queue, job queue).
    2. The queue can be in systems like RabbitMQ, Azure Service Bus, AWS SQS, or internal workflow queues.
  3. Downstream Processing:  Another process or worker pulls items from the queue and processes them asynchronously.
  4. Benefits:
    1. Improves scalability.
    2. Handles spikes in workload.
    3. Ensures reliability (items stay in the queue until processed).
Use Case:
  1. Document Workflow: Queue documents for OCR processing by background workers.
  2. Integration: Queue API requests for batch processing.
  3. Event Handling: Queue notifications for asynchronous delivery.
Visual Representation



    • Related Articles

    • Edit Delegate Component Unit

      Overview A Delegate Component Unit in a flow diagram represents a self-contained, reusable block of logic that performs a specific task. You can reuse it whenever needed within a larger process, much like using a pre-built piece in a puzzle. What it ...
    • Edit Delegate Automation Unit

      Overview The Delegate Automation unit in a flow diagram represents a step where the workflow performs an automated action without manual intervention. It’s designed to execute predefined tasks using scripts, bots, or automation services. What it ...
    • Edit Queue Unit

      Edit Queue Unit
    • Edit Queue Unit

      Edit Queue Unit
    • Edit Queue Trigger Unit

      Overview Trigger Units are responsible for starting the execution of a flow. They define how and when a flow is triggered. A flow always begins with a Start Unit, and immediately after that comes a Trigger Unit. The following trigger units are ...