Class HistoricTaskInstanceVariableDataResource
java.lang.Object
org.flowable.cmmn.rest.service.api.history.task.HistoricTaskInstanceBaseResource
org.flowable.cmmn.rest.service.api.history.task.HistoricTaskInstanceVariableDataResource
@RestController
public class HistoricTaskInstanceVariableDataResource
extends HistoricTaskInstanceBaseResource
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.cmmn.api.CmmnHistoryServiceprotected CmmnRestResponseFactoryFields inherited from class org.flowable.cmmn.rest.service.api.history.task.HistoricTaskInstanceBaseResource
restApiInterceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getVariableData(String taskId, String variableName, String scope, jakarta.servlet.http.HttpServletResponse response) getVariableFromRequest(boolean includeBinary, String taskId, String variableName, String scope) Methods inherited from class org.flowable.cmmn.rest.service.api.history.task.HistoricTaskInstanceBaseResource
addProcessVariables, addTaskVariables, getHistoricTaskInstanceFromRequest, getHistoricTaskInstanceFromRequestWithoutAccessCheck, getQueryResponse
-
Field Details
-
restResponseFactory
-
historyService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService historyService
-
-
Constructor Details
-
HistoricTaskInstanceVariableDataResource
public HistoricTaskInstanceVariableDataResource()
-
-
Method Details
-
getVariableData
@GetMapping("/cmmn-history/historic-task-instances/{taskId}/variables/{variableName}/data") @ResponseBody public byte[] getVariableData(@PathVariable("taskId") String taskId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope, jakarta.servlet.http.HttpServletResponse response) -
getVariableFromRequest
public RestVariable getVariableFromRequest(boolean includeBinary, String taskId, String variableName, String scope)
-