// replace
newValue = StringHelper.replace(value, findValue, replaceValue);
if (!newValue.equals(value)) {
parameterPg.setTextValue(VALUE_TMPLT_ELEM_NAME, newValue);
if (parameterPg.isInStateSavedAsDraft()) {
parameterPg.submitToWorkflow();
}
// force re-read of parameters
parameters = null;
}
} else {