[jboss-user] [JBoss jBPM] - Task priority escalation

xnejp03 do-not-reply at jboss.com
Wed Jan 14 11:30:40 EST 2009


Hello,

has anyone done something regarding automatic task priority management? The use case would be:

1) Start a process including a task
2) Create the task, with a starting priority (e.g. NORMAL)
3) As the task's dueDate is getting closer, the task's priority will be updated to higher levels, so that the task gets further up in user's task list

Any ideas how to acomplish this? 

One thing comes to my mind. To each Task add a Timer that will (repeatedly) run at a given interval and execute an ActionHandler that will check the dueDate and update the priority.

Any help appreciated.

Petr

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201865#4201865

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201865



More information about the jboss-user mailing list