This content has been marked as final.
Show 1 reply
-
1. Re: can't update or delete variables
dfrenkiel Sep 16, 2007 2:16 PM (in response to dfrenkiel)after some more experimentation i am able to change variables by explicitly saving the token variable map.
for example, to update a date variable:
Token rootToken = processInstance.getRootToken();
contextInstance.setVariable("timeNow", new Date(), rootToken);
saveHibernateObject(contextInstance.getTokenVariableMap(rootToken));
so it appear to be just a hibernate cascade issue or something.
or is this just the way it needs to be done?
thanks.
david f.