not sure and no time to experiment for me here, but I'd expect
token.getProcessInstance().getContextInstance().setVariable(...)
to indeed set it on the root token. So behaviour is as expected.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191683#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...