String formDefId = ProcessDefinition.splitDefinitionAndVersionId(metaValue.getDocumentDefId())[0];
try {
InputStream is = ProcessDesigner.getClientProxy().showObjectDefinitionWithDefinitionId(formDefId);
OfficeDocumentDefinition odd = (OfficeDocumentDefinition) GlobalContext.deserialize(is, OfficeDocumentDefinition.class);
List officeDocFieldList = odd.getFieldList();
for(int k=0; k<officeDocFieldList.size(); k++){
Object element = officeDocFieldList.get(k);
String fieldName = null;
if(element instanceof String){//that means the field parts are started.
fieldName = (String)element;