//document the comparison's output
if((compareResult.getProperties()!=null)&&(compareResult.getProperties().size()>0)){
wfResultItem.addLogInfo("Comparing properties of object A: "+digo1.getPermanentUri()+" with object B: "+digo2.getPermanentUri());
for(Property p : compareResult.getProperties()){
String extractedInfo = "[name: "+p.getName()+" value: "+p.getValue()+" untit: "+p.getUnit()+" description:"+p.getDescription()+"] \n";
wfResultItem.addExtractedInformation(extractedInfo);
}
}
else{
wfResultItem.addLogInfo("No comparison properties received");
}