} catch (RemoteException e) {
throw new RuntimeException(e);
}
ArrayList<WorkflowInstanceResultModel> result = new ArrayList<WorkflowInstanceResultModel>();
for (WorkflowInstanceInfo workflowInstanceInfo: list){
result.add(new WorkflowInstanceResultModel(workflowInstanceInfo));
}
return result;
}