[jboss-user] [jBPM] - Re: jBPM4 - Process Dehydration
kukeltje
do-not-reply at jboss.com
Fri Aug 21 11:16:21 EDT 2009
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
More information about the jboss-user
mailing list