[jboss-user] [JBoss jBPM] - Re: Transiton Condition evaluated to 'false

kukeltje do-not-reply at jboss.com
Wed Aug 22 11:55:02 EDT 2007


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



More information about the jboss-user mailing list