This content has been marked as final.
Show 2 replies
-
1. Re: Question about jBPM expression
johnlz Jun 8, 2006 7:06 AM (in response to johnlz)hi! Nobody can answer my question?
-
2. Re: Question about jBPM expression
jpf Jun 11, 2006 5:20 PM (in response to johnlz)Hi,
might it be possible that the decission node is the issue?
I faced a similar problem (with the current jbpm 3.2 snapshot from CVS) with a node looking like this:<decision name="Mitreisende vorhanden?"> <transition name="ja" to="Weitere Mitreisende angeben"></transition> <condition expression="#{contextInstance.variables['isAccompanied'] == true}" /> </transition> <transition name="nein" to="Ende"></transition> </decision>
Transition 2 ("nein") was never taken. I changed it to:<decision name="Mitreisende vorhanden?"> <transition name="nein" to="Ende"></transition> <transition name="ja" to="Weitere Mitreisende angeben"> <condition expression="#{contextInstance.variables['isAccompanied'] == true}" /> </transition> </decision>
Now everything is working as expected. In my opinion both solutions should have the same result because the transition without condition should always be true..
Rgds,
Patrick