.serializationDataFormat(JavaObjectSerializer.SERIALIZATION_DATA_FORMAT)
.objectTypeName("unexisting").create()));
String taskId = taskService.createTaskQuery().singleResult().getId();
// this works
VariableMap variablesTyped = taskService.getVariablesTyped(taskId, false);
assertNotNull(variablesTyped.getValueTyped("broken"));
variablesTyped = taskService.getVariablesTyped(taskId, Arrays.asList("broken"), false);
assertNotNull(variablesTyped.getValueTyped("broken"));
// this does not
try {
taskService.getVariablesTyped(taskId);
} catch(ProcessEngineException e) {