12-17-2012 05:05 AM
12-17-2012 10:30 AM
12-18-2012 02:09 AM
TaskQuery query = taskService.createTaskQuery();
query.taskAssignee(assignee);
List<Task> tasks = query.list();
for (Task task : tasks) {
if (task instanceof TaskEntity) {
if (!((TaskEntity) task).isDeleted()) {
taskService.complete(task.getId(), taskParams);
} else {
//should not be this, but sometimes comes
log.debug(" ((TaskEntity)task).isDeleted() = true");
}
} else {
taskService.complete(task.getId(), taskParams);
}
12-18-2012 11:40 AM
12-19-2012 04:08 AM
12-19-2012 04:37 AM
It's possible avoid the data which is not yet committed to the database.
12-20-2012 02:22 AM
Is this a question or a statement?
12-21-2012 03:13 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.