Yep, you got it wrong.... you have to SET it, not save it. pseudocode:

HashMap <String, String> var = service.getVariable("myVar");
var.put("additionalItem", "valueOfItem");

Then the processvariable in the engine is not updated.

You have to do

service.setVariable("myVar", var) 

and that is with all variables, not just collections

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

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

Reply via email to