Interface IPriorityAlgorithm

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    CustomFieldPriorityAlgorithm

    public interface IPriorityAlgorithm
    extends Serializable
    This interface can be used to define an external priority algorithm for the process engine.
    Since:
    9.1
    Author:
    B. van de Ven
    • Method Detail

      • evaluate

        Integer evaluate​(IPriorityAlgorithmEvaluationContext context)
        This method should evaluate the priority for a task.
        Parameters:
        context - context object containing data may be used during evaluation.
        Returns:
        priority integer.