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.