OK, getting a bit tired of re-deploying my process every time, I decided to 
peek into the database. Guess what ;-)
select length(condition_)
  | from jbpm_transition
  | where condition_ is not null
only yields a single non-zero value. All other expressions I've set in 
processdefinition.xml did not make it into the database...?!  So: there's many 
process definitions in my database, most of them with some decision node, for 
which the conditions have been set to some zero-length string -- except for 
one...

Some more tests seem to indicate that, for 3.2.Beta2 Suite,
<condition>#{true}</condition>
gets me "#{true}" in the database after deployment using GPD, while
<condition expression="#{true}"/>
gives me a zero-length (non-NULL) string.

OK, that's a start!

However, even when the simple "#{true}" is in the database, I still keep 
getting the same old
decision didn't select transition, taking default Transition

There's more, but this might be as expected, as I set the decisions on 
transitions:
select * from jbpm_decisionconditions
yields zero rows.
select * from jbpm_node where class_ = 'D'
shows NULLs for column decisionexpression_ .

Maybe I should deploy without GPD, just to see what that gets me in the 
database.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018608#4018608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018608
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to