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

2007-08-22 Thread estaub
More log info please... a stack trace, and a real exception message. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076851#4076851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076851

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

2007-08-22 Thread bephinney
anonymous wrote : | SEVERE: Servlet.service() for servlet default threw exception | org.jbpm.JbpmException: transition condition #{taskTrans == 't1'} evaluated to 'false' | at org.jbpm.graph.def.Transition.take(Transition.java:125) | at

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

2007-08-22 Thread kukeltje
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

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

2007-08-22 Thread bephinney
Ah, thank you. So the exception is thrown because the guard was in place and took affect - denying passage through the transition. I just do not have complete transition selection out of my task-node or put in the other way of doing it as you suggest. Thanks again. View the original post

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

2007-08-22 Thread kukeltje
anonymous wrote : or put in the other way of doing it as you suggest. | My solution was incomplete and even partly incorrect. You can use 2 transitions in the task. In those transitions just set a process variable and in the decisionnode read the variable just like you did. Ronald