03-14-2013 01:26 AM
03-31-2013 05:50 AM
Hmm that is probably because the commenting uses the current user:
try to do this:
try {
identityService.setAuthenticatedUserId("Joram");
… // your logic
} finally {
identityService.setAuthenticatedUserId(null);
}
04-07-2013 03:41 AM
task.setDescription("this is a test");
task.setAssignee("kermit");
taskService.saveTask(task);
taskService.setAssignee(task.getId(),"kermit");
taskService.setAssignee(task.getId(),"kermit");
task.setDescription("this is a test");
taskService.saveTask(task);
org.activiti.engine.ActivitiOptimisticLockingException: TaskEntity[401] was updated by another transaction concurrentlyTags
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.