This content has been marked as final.
Show 4 replies
-
1. Re: Problem with update of variable value
vtysh Apr 18, 2007 2:35 AM (in response to vtysh)Upd.: I use jbpm from jbpm-starters-kit-3.1.3
-
2. Re: Problem with update of variable value
kukeltje Apr 18, 2007 10:31 AM (in response to vtysh)you forget to save the context
-
3. Re: Problem with update of variable value
vtysh Apr 18, 2007 11:08 AM (in response to vtysh)It doesn't help.
If i add
jbpmContext.save(taskInstance);
before "marker 1" i get same result. Or should i save a context in another way? -
4. Re: Problem with update of variable value
vtysh Apr 27, 2007 5:06 AM (in response to vtysh)Seems that i've found a reason, even if it was not so easy. I used different name and mapped name values for variables, so the default task controller after a task ending restored values of variables in context from taskInstance but as names of source variable it got mappedName.
instead
String name=varAccess.getVariableName();
String value=pRequest.getParameter(name);
should be
String name=varAccess.getMappedName();
String value=pRequest.getParameter(varAccess.getVariableName());