String document = (String) workItem.getParameter("Document");
String translatedDocument = (String) workItem
.getParameter("TranslatedDocument");
String reviewComment = (String) workItem
.getParameter("ReviewComment");
DocumentProcessReport report = new DocumentProcessReport();
report.setProcessInstance(workItem.getProcessInstanceId());
report.setDocument(document);
report.setTranslatedDocument(translatedDocument);
report.setReviewComment(reviewComment);
service.addProcessReport(report);
}