what are the differences between queue processors, job schedulers, and agents with some use case ?

what are the differences between queue processors, job schedulers, and agents with some use case ?

@Satya K

Agents are deprecated now. Agents were of 2 types: Standard & Advanced. Standard agents can be considered as queue processors and advanced agents as job schedulers.

Go through this link to get more idea on queues and jobs.

Hi @Satya K,

  1. Queue Processors: Process items from a queue asynchronously. They are more modern and replace standard/background agents. Queue processors are multi-threaded, scalable, and designed for asynchronous task processing.
    • Use Case: Sending confirmation emails after case submission.
  2. Job Schedulers: Execute recurring tasks at specified intervals. They are used to schedule maintenance or background tasks.
    • Use Case: A daily report generation process that needs to run every night.
  3. Agents: Legacy background processing mechanism. Agents periodically check for tasks and run them. Queue processors are preferred over agents.
    • Use Case: Batch processing of cases at regular intervals.

Thanks.

Hi @Satya K ,

In simple terms, Agents are background processing where activites can be done without human interaction.Agents are of 2 types- Standard & Advanced. Currently Agents are deprecated, instead of that we have Job Scheduler and Queue Processor.

Job Scheduler replaces the Advanced agent. Example: If you want to send a report as a mail everyday at midnight , we can use this.

Queue Processor replaces Standard agent. Example: If you want to send a mail to the user at the end of case, we can use this.

Queue Processor handles the exception scenario itself like retrying etc, where Job Scheduler you have manually configure the exception scenario.

Hope this helps.