Hi,
i need to move a related content from an user task to another. I write this code:
Task task = processEngine.getTaskService().createTaskQuery().processInstanceId(pointedProcess.getProcessInstanceId())
.taskName("activeContractTask").singleResult();
System.out.println("task.getId(): " + task.getId());
List<Attachment> list = processEngine.getTaskService().getTaskAttachments(task.getId());
System.out.println("size: " + list.size());
It finds the active task but the attachmentList size is 0.
Why?