[jboss-dev-forums] [Design of JBoss jBPM] - Re: GetOutcomes returns additional transition

kukeltje do-not-reply at jboss.com
Sun Jul 5 06:08:29 EDT 2009


"tom.baeyens at jboss.com" wrote : does that describe the consensus ?

I think it does. Although I would have task.complete(null) behave the same as task.complete(). Just have it always take the default transition. If there is only one (named or unnamed) that already *is* the default transition. 

I'll file the jira if this is decided on. 

With regard to the 'default' attribute, I'm always in favour of explicit behaviour. One could argue that if there is more then one transition and task.complete() or task.complete(null) is used and the default attribute is not there, an exception should be thrown. 



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

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



More information about the jboss-dev-forums mailing list