type.removeFieldDescriptor("FilePath");
fd = type.getFieldDescriptor("DocumentDefId");
XMLValueInput inputter = new XMLValueInput("/processmanager/processDefinitionListXML.jsp?omitVersion=false&objectType=excel");
fd.setValidators(new Validator[]{
new Validator(){
public String validate(Object data, Instance instance){
if(org.uengine.util.UEngineUtil.isNotEmpty((String)data)) return null;
return ("Should be set");
}