For Test I use now the "Evalution.bpmn"
Now I want to retrieve the Content build a generic UI.
I use the HornetQ TaskService and read the DocumentConten like this:
List<Task> tasksAssignedAsPotentialOwner = taskManagement.getAssignedTasks("admin");
Task simpleTask = tasksAssignedAsPotentialOwner.get(0);
long taskId = simpleTask.getId();
assertEquals(Status.Reserved, simpleTask.getTaskData().getStatus());
taskManagement.start(simpleTask.getId(), "admin");
simpleTask = taskManagement.getTaskById(taskId);
assertEquals(Status.InProgress, simpleTask.getTaskData().getStatus());
Content content = taskManagement.getContent(simpleTask.getTaskData().getDocumentContentId());
Map<String, Object> contentData = (Map<String, Object>) ContentMarshallerHelper.unmarshall(content.getContent(), null);
logTaskData(simpleTask);
Now i've got all Data from the "Self-Evaluation" Task. But in Content i can only see the Key : reason - Value : Some Reason.
In the Web View the user have to check some CheckBoxes to give the Task a valid Result. How can I retrieve the Information about the Result Values / Types?
How to retrieve the Values of performance?