}
});
}
public void setProcessVariableFor(final long processinstanceid, final String name, final Object val) {
getJbpmTemplate().execute(new JbpmCallback() {
public Object doInJbpm(JbpmContext context) throws JbpmException {
final String fName = StringUtils.defaultString(name);
boolean wasValNull = val == null;
final String fVal = wasValNull ? StringUtils.EMPTY : val.toString();
// getLoggingUtils().log(String.format("setting [%s]=[%s] ", fName, fVal, fName, !wasValNull ? "not " : ""));