Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

With Blueriq 15.3, the execution of priority algorithms will be disabled for DCM 2.0 as the case engine will not allow the execution of custom code. In the future a different mechanism to evaluate the priority of cases/tasks will be developed.

Introduction

Prioritization algorithms are available within the process engine so tasks can be sorted in the work list. The value resulting of the algorithm will be stored in the process engine database. The element will be connected to an external source.

Internal priority algorithms

Internal priority algorithms are part of the core product. The following internal priority algorithm is available:

CustomFieldPriority

The Custom Field Priority Algorithm can be used to define the priority of a task based on an expression. The expression that is to be used is added to the model of a task as the value of a custom field with the name Priority. When a task based on the model is created, the expression is evaluated. The resulting value is used as the priority value for that task. No re-evaluation of the expression is available - expressions will be evaluated on creation only.

...

Note that when the priority has been determined once using the custom field priority algorithm, the value will be set in the custom field, and it will not change anymore.

External priority algorithms

External algorithms are developed as a customization of the product. You can find information on how to implement such an algorithm here: 10. APIs for authorization, routing and priority.

Re-evaluation

Re-evaluation take two parameter:

  • Reevaluation time indicates how often the value for prioritization is reevaluated.
  • Reevaluation event indicates whether the algorithm should re-evaluate the priority if a value in the domain has changed. On domain change also evaluates when the task is created.

Customize re-evaluation

The priority algorithm re-evaluation can be done every:

...

It is also possible to customize the priority re-evaluation by specifying the start date-time of the first evaluation of the priority algorithm.

Start Time

This is a date time expression field, which is evaluated by the Runtime. In case the reevaluation time is 'NEVER', this field will be disabled.

Evaluation Rules

The Runtime evaluates the expression modeled in Encore and sets the start date-time of the priority job first evaluation. A few situations exist concerning reevalution:

...