[jboss-user] [JBoss jBPM] - Variables in expressions are not deserialized?

mimiru do-not-reply at jboss.com
Mon Mar 3 05:07:58 EST 2008


I noticed something odd. I was trying to use a decision node which had a transition that checked a boolean process variable and a default transition.

the syntax of the expression used: #{off}

when running a process instance and toggling the value of "off" the default transition is always taken, now i know that the variable is toggled since i used a global event type node-enter that outputs the value of off to the console, however i noticed the value is serialized.

so now i was wondering if the value is not deserialized when being accessed in the expression or something else is amiss.

for now i use a handler, and it works, but i rather use the xml to reduce the number of classes needed.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133575



More information about the jboss-user mailing list