[jboss-dev-forums] [Design of JBoss jBPM] - Re: GetOutcomes returns additional transition
tom.baeyens@jboss.com
do-not-reply at jboss.com
Wed Jul 1 11:17:49 EDT 2009
"completed" is always a valid outcome
In TaskImpl:
public void complete() {
| complete(Task.STATE_COMPLETED);
| }
|
this also fits with the logic that the task outcome doesn't have to match with the transition name if there is only one.
if there are more transitions, then still "completed" is a valid outcome. in that case the default outgoing transition will be taken from the activity if task is completed with outcome 'completed'.
so in other words, i don't yet see the unlogicality. can you elaborate more concretely what you expected different ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241230#4241230
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241230
More information about the jboss-dev-forums
mailing list