There may be situations where both the initial priority, and the amount that priority increments need to be calculated dynamically. In these cases, you create a priority module that the system uses instead of the work queue policy to set priority, and aging logic. A priority module can be selected when creating the work queue policy. The Documentum Process Builder User Guide provides information on creating a priority module.
Process data can be used to set the initial priority, and increase the priority based on values in the workflow. For example, if a loan application belonging to a preferred customer comes through a work queue, it can be immediately placed at a higher priority value than a loan application from other customers. In addition, if the loan request is for a greater amount or comes from a preferred loan broker, then the priority can be increased at a higher rate, ensuring that the queue supervisor is alerted if the task is not completed within a specified period of time. This kind of logic can be especially useful to increase the priority of a task as it nears a deadline or some other time restriction—the priority is increased more rapidly as the deadline approaches, pushing the task up the queue at a higher rate.