public String getTaskOutputContentByTaskId(String containerId, Number taskId, String marshallingType) { containerId = context.getContainerId(containerId, new ByTaskIdContainerLocator(taskId.longValue())); Map<String, Object> variables = userTaskService.getTaskOutputContentByTaskId(containerId, taskId.longValue()); logger.debug("About to marshal task '{}' output variables {}", taskId, variables); String response = marshallerHelper.marshal(containerId, marshallingType, variables); return response; }
Map<String, Object> output = userTaskService.getTaskOutputContentByTaskId(containerId, taskId); renderContext.put("outputs", output); for (Map.Entry<String, Object> outputVar : output.entrySet()) {
Map<String, Object> outputData = userTaskService.getTaskOutputContentByTaskId(resolvedContainerId, taskId);
Map<String, Object> variables = userTaskService.getTaskOutputContentByTaskId(containerId, taskId.longValue()); builder.outputData(variables);