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