Add priority to tasks

Some tasks inside a workflow might need immediate processing, where others can easily wait. Therefore presented tasks need to be prioritized and sorted accordingly.

Priority could be based on some new task properties like:
• “Standard priority” set for the task in the Workflow definition (f.e. Real time, High, Higher than normal, Normal, Lower than normal, Low).
• “Maximum idle duration time (hours)” of a task
If a task is created and the task is idle (status is unchanged) for longer than “Maximum idle duration time (hours)”, the priority of the task is increased by one priority level (f.e. from Normal to Higher than normal).

Tasks can be presented to the user sorted on priority and then creation date/time.