[jboss-user] [JBoss jBPM] - Re: Problem with update of variable value

vtysh do-not-reply at jboss.com
Fri Apr 27 05:07:00 EDT 2007


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());

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041305



More information about the jboss-user mailing list