Class ProcessInstanceVariableDataResource
java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
org.flowable.rest.service.api.runtime.process.ProcessInstanceVariableDataResource
- All Implemented Interfaces:
InitializingBean
@RestController
public class ProcessInstanceVariableDataResource
extends BaseExecutionVariableResource
- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
env, isSerializableVariableAllowed, restApiInterceptor, restResponseFactory, runtimeService, variableType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getVariableData
(String processInstanceId, String variableName, String scope, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
afterPropertiesSet, allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequestWithoutAccessCheck, getExecutionIdParameter, getVariableDataByteArray, getVariableFromRequest, getVariableFromRequestWithoutAccessCheck, hasVariableOnScope, setBinaryVariable, setSimpleVariable, setVariable
-
Constructor Details
-
ProcessInstanceVariableDataResource
public ProcessInstanceVariableDataResource()
-
-
Method Details
-
getVariableData
@ResponseBody @GetMapping("/runtime/process-instances/{processInstanceId}/variables/{variableName}/data") public byte[] getVariableData(@PathVariable("processInstanceId") String processInstanceId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope, jakarta.servlet.http.HttpServletResponse response)
-