[jboss-dev-forums] [jBPM Development] - jBPM 4.1 takeTask() race condition
scollyp
do-not-reply at jboss.com
Mon Nov 16 11:02:30 EST 2009
See original user forum thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265708
One correction to my original post is that I'm getting a JbpmException. The StaleObjectStateException is produced but not allowed to propagate.
My company has a legacy workflow system that lets users click a "Get Next Task" button. The system then decides which task they should get based on task priority, user skill level, phase of the moon, etc. Once that's decided, the system puts it on the user's personal task list. The key is that this all happens atomically inside the database, so two users never end up with the same task.
What would it take to accomplish this with jBPM? Opinion on how valuable this would be to the overall user base?
Thanks
Scott
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265900#4265900
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265900
More information about the jboss-dev-forums
mailing list