You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The case engine uses its own scheduler to schedule tasks of these types:

  • Timer nodes
  • Expiration tasks
  • Priority reevaluation

It follows the design of the Advanced Scheduler, so there is a scheduler with persistent storage that has an administration of the tasks to execute and the moment at which the task should be executed. The scheduler add a message to the queue which will trigger the Case Engine to execute a scheduled task at the moment the task was scheduled.

Configuration

The case engine scheduler is enabled automatically when the case-engine profile is enabled. For more information on configuring the Case Engine Scheduler, please visit Case Engine Scheduler Quartz. For more information on configuring the Case Engine Scheduler Queue, please visit Configuration for the Case Engine.

Caveat

The scheduler is working quite fast, so scheduling nodes to NOW can lead to problems where the scheduler triggers execution of a job before the process that created the scheduler job could finish properly.

To circumvent these issues, never schedule at NOW, but always to a moment in the future, e.g. NOW + 5 SECONDS.

  • No labels