private String[] runIdentification2(DigitalObject digo,WorkflowResult wfresult) throws Exception{
log.info("identification 2 - got digo with title: " + digo.getTitle());
List<Parameter> parameterList = new ArrayList<Parameter>();
IdentifyResult results = identify2.identify(digo,parameterList);
log.info("identification 2 - results: " + results);
ServiceReport report = results.getReport();
List<URI> types = results.getTypes();
if(report.getType() == Type.ERROR){
String s = "Service execution failed: " + report.getMessage();
log.info(s);
throw new Exception(s);
}
if(types.size()<1){
String s = "The specified file type is currently not supported by this workflow";