This behavior is correct. In a task node the conditions are 'guards', they do not act like a decision. So if you say task.leave() it wil always try to take the default, first, transition. No matter what conditions you put on it. Since the variable does not have the right value it is not allowed to take this transition.
So you either have to explicitly tell the tasknode what transition to take or have a tasknode with one transition to a decision node which has to transitions, each with a condition like you have now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076949#4076949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076949 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
