[jboss-dev-forums] [Design of JBoss jBPM] - separate take task method

tom.baeyens@jboss.com do-not-reply at jboss.com
Thu Apr 2 06:49:47 EDT 2009


while documenting i realized that we need a separate takeTask method.  previously i thought that we could just leverage the assignTask method for that.  but taking a task also involves a check that the task is currently unassigned.  

e.g. if 2 people see a task in their takable task list, then the second one that clicks on 'Take' should get an error.

in contrast, reassignment doesn't need that check.  

so we need to separate methods for take and assign.

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

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



More information about the jboss-dev-forums mailing list